home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / hp-faq < prev    next >
Encoding:
Internet Message Format  |  1994-05-01  |  86.2 KB

  1. Subject: comp.sys.hp.hpux FAQ
  2. Newsgroups: comp.sys.hp.hpux,news.answers,comp.answers
  3. From: gcagle@delta9.mentorg.com (Greg Cagle)
  4. Date: 29 Apr 1994 18:18:47 GMT
  5.  
  6. Archive-name: hp-faq
  7. Last-modified: 1994/4/26
  8. Version: 2.14
  9.  
  10. comp.sys.hp.hpux FAQ (Frequently Asked Questions)
  11.  
  12. Subject: 1. INTRODUCTION
  13.  
  14. This article contains the answers to Frequently Asked Questions (FAQ)
  15. seen in the Internet newsgroup comp.sys.hp.hpux. Discussion in this document
  16. centers around Hewlett-Packard computer systems running  the HP-UX operating
  17. system; the focus tends to be on the series 700  workstations, although topics
  18. are also applicable to series 800 machines, and to a lesser degree, series 300
  19. and 400 machines. It is posted ~biweekly, on the 15th and the last day of the
  20. month. 
  21.  
  22. This article is Copyright 1994 by Greg Cagle.  It may be freely redistributed 
  23. in its entirety provided that this copyright notice is not removed.  It may 
  24. not be sold for profit or incorporated in commercial documents without the 
  25. written permission of the copyright holder.  Permission is expressly granted 
  26. for this document to be made available for file transfer from installations 
  27. offering unrestricted anonymous file transfer on the Internet. This article is 
  28. provided as is without any express or implied warranty. The content of this 
  29. article is the sole responsibility of the author and contributors, and does 
  30. not necessarily represent their employers, Mentor Graphics, or Hewlett-Packard.
  31.  
  32. Refer to question 3.l for details on where to get this FAQ.
  33.  
  34. This FAQ is written in "minimal digest format". You can skip from one 
  35. section to the next by pressing ^G in many newsreaders, such as rn, trn 
  36. and strn.
  37.  
  38. Questions marked with a "+" are new to this issue, and questions with changes
  39. since the last issue are marked by a "!".
  40.  
  41. Submissions, corrections, comments, input, complaints, attaboys, large amounts 
  42. of money, etc., should be directed to Greg Cagle <greg_cagle@mentorg.com>.
  43.  
  44. ------------------------------
  45.  
  46. Subject: 2. TABLE OF CONTENTS
  47.  
  48. 1. INTRODUCTION
  49. 2. TABLE OF CONTENTS
  50. 3. FINDING INFORMATION
  51. 3.1! Where can I get a copy of this FAQ file?
  52. 3.2  Courses on HP-UX
  53. 3.3  Interex, The International Association of HP Computer Users
  54. 3.4  InterWorks, The International HP Workstation Users Group
  55. 3.5  Interex HP Users Conferences 1994
  56. 3.6  InterWorks Conference 1994
  57. 3.7  HP/Works
  58. 3.8! HP/Works Conferences
  59. 3.9+ Japanese HP Computer Users Association
  60. 3.10  HP-UX publicly available software from InterWorks.
  61. 3.11  Anonymous FTP Sites for HP-UX, and UNIX related software.
  62. 3.12  Where can I get a demo CD with software for HP-UX?
  63. 3.13! HP-UX patch information.
  64. 3.14  How can I send mail to an "hpdesk" address?
  65. 3.15  What are the known issues with porting BSD-based programs to HP-UX?
  66. 3.16  What periodicals are available that focus on HP-UX?
  67. 3.17  Books on HP-UX
  68. 3.18+  HP-UX Sysadmin Mailing List
  69. 3.19+  HP WWW Access
  70. 4. THIRD PARTY VENDORS
  71. 4.1  Third party vendors for RAM.
  72. 4.2  Third party vendors for peripherals
  73. 5. UTILITIES
  74. 5.1  ASCII to Postscript converter.
  75. 5.2  How do I make perl on HP-UX?
  76. 5.3  What is the status of the various gnu items on HP-UX?
  77. 6. X WINDOW SYSTEM, MOTIF, AND HP-VUE
  78. 6.1  X11 libraries (Athena, etc.) and utilities (imake, etc.).
  79. 6.2  How can I display an image on the root window with HP-VUE?
  80. 6.3  How do I get a scroll bar on hpterms?
  81. 6.4  How can I put a title in my hpterm titlebar?
  82. 6.5  How come my hpterms keep going away by themselves?
  83. 6.6  How come my HP X/Motif clients take a LONG time to display on a Sun?
  84. 6.7  How can I get my login stuff to work under HP-VUE?
  85. 6.8  How can I get console messages to go to an hpterm?
  86. 6.9  What happened to the vuewm key accelerators at VUE 3.0?
  87. 6.10  How come I can no longer disable the caps lock key with xmodmap?
  88. 6.11  How come vi behaves strangely in xterms at 9.01?
  89. 6.12  How do I disable HP-VUE?
  90. 6.13  What's a good termcap entry for hpterm?
  91. 6.14  My screen is wedged. What should I do?
  92. 6.15  How can I get an X client to come up in an alternate workspace?
  93. 6.16  Where did xline go at 9.x?
  94. 6.17  How can I get HP-VUE to not override colors?
  95. 6.18  How can I override the system default printer in vuepad?
  96. 6.19  How can I get the VUE 2.01 man page help index back?
  97. 7. OPERATING SYSTEM
  98. 7.1! Can I have filenames longer than 14 chars?
  99. 7.2  How can I tell what filesets have been loaded on my system?
  100. 7.3  How do I safely remove software from my system?
  101. 7.4  What's the scoop on HP-UX 9.03/9.04?
  102. 7.5  How come HP-UX doesn't support NFS root access?
  103. 7.6! How can I change the order of hostname resolution?
  104. 7.7! How come the LOGnnnn files in /usr/adm keep growing and growing?
  105. 7.8  How come I can't lock mail or other files on a Sun?
  106. 7.9  Why are mail files in /usr/mail are owned by daemon instead of the recipient?
  107. 7.10  How can I tell if I need more than a 2-user license?
  108. 7.11  How can I tell what patches are in the kernel?
  109. 7.12  How come I have to hit return after control-d in the Korn shell?
  110. 7.13  How do I boot into single user mode?
  111. 7.14  How come my Korn shell login hangs?
  112. 7.15  How can I avoid those annoying copyright notices on login?
  113. 7.16  How can I turn off quota checking?
  114. 7.17  What are the issues with HP-UX 9.01?
  115. 7.18  Why does chown behave differently at 9.x?
  116. 7.19  How can I track log files and core files?
  117. 7.20  How much memory can a process use?
  118. 7.21  How come there's little discussion of DCE?
  119. 7.22  How can I make a ramdisk?
  120. 7.23  Where can I get SLIP for HP-UX?
  121. 7.24  How come I can't lock files across NFS after upgrading to 9.01?
  122. 7.25  What's a good strategy for clearing /tmp?
  123. 7.26  How can I change the timezone?
  124. 7.27  Is there an equivalent for getrusage()?
  125. 7.28! How can I look at what my system is doing?
  126. 7.29  How can I partition HP-UX disks?
  127. 7.30  How can I print man pages successfully?
  128. 7.31  How can I limit core files?
  129. 7.32  Can I put more than one backup on DDS with fbackup?
  130. 7.33  How can I load multiple patches on a machine at the same time?
  131. 7.34  How can I set up an HP-UX workstation as an X terminal?
  132. 7.35! What causes "Unable to initialize MI" when running Glance?
  133. 7.36  Where can I get pcnfsd on HP-UX?
  134. 7.37  Where can I get ppp for HP-UX?
  135. 7.38+ How come I can't get all of my swap space?
  136. 8. COMPILERS AND LINKERS
  137. 8.1  What's a P-FIXUP error?
  138. 8.2  Where is regcmp on HP-UX?
  139. 8.3  How come the default C compiler is brain-dead?
  140. 8.4  How do I deal with "too many defines"?
  141. 8.5  How come I get "_builtin_va_start" undefined when I build with gcc?
  142. 8.6  How can I tell if something was built debuggable?
  143. 8.7  Is there some kind of problem with using FLT_MIN in ANSI mode?
  144. 8.8  What's the deal with _INCLUDE_xxxx_SOURCE?
  145. 9. HARDWARE AND PERIPHERALS
  146. 9.1  Are alternate keyboards available for HP workstations?
  147. 9.2  How can I play audio CDs on an HP workstation?
  148. 9.3  How can I enable the LAN interface on a 700?
  149. 9.4  How can I get an Exabyte to work on an HP?
  150. 9.5  Is there a "node ID" on 700s?
  151. 9.6  How can I get a stuck DDS tape out of the drive?
  152. 9.7  How can I use dump with a DDS tape?
  153. 9.8  What is the correct major number for DDS drives on 9.01?
  154. 9.9  How can I set up /dev/audio to point to the external jack on a 700?
  155. 9.10  How can I configure the parallel port handshake on a 700?
  156. 9.11  What are the specs of the audio hardware on the 700 series?
  157. 9.12  What are the various revisions of PA-RISC?
  158. 9.13  How do I read an SGI-written tar format DDS tape?
  159. 9.14  Is there a trackball for the 700?
  160.  
  161. ------------------------------
  162.  
  163. Subject: 3. FINDING INFORMATION
  164.   
  165. ------------------------------
  166.  
  167. Subject: 3.1! Where can I get a copy of this FAQ file?
  168.  
  169. Many FAQs, including this one, are available via FTP on the Internet
  170. FAQ archive site:
  171.  
  172.   ftp://rtfm.mit.edu/pub/usenet/news.answers/hp-faq
  173.  
  174. This FAQ is also archived on the Interworks archive machine:
  175.  
  176.   ftp://iworks.ecn.uiowa.edu/comp.hp
  177.  
  178. An HTML version of this document is available as:
  179.  
  180.   http://www.cis.ohio-state.edu/hypertext/faq/usenet/hp-faq/faq.html
  181.  
  182. You can also get it by e-mail from mail-server@rtfm.mit.edu; send the
  183. text "send usenet/news.answers/hp-faq".
  184.  
  185. The FAQ is also included with the InterWorks software CD-ROM, the Interex CSL, 
  186. and the Walnut Creek Internet CD-ROM. Note that these versions were current 
  187. when the respective distributions were frozen.
  188.  
  189. A Japanese version of this document is available from CUA (HP Computer
  190. Users Association); send mail to <tagami@hpujuu01.yhp.hp.com>.
  191.  
  192. If all else fails, contact the maintainer (greg_cagle@mentorg.com).
  193.   
  194. ------------------------------
  195.  
  196. Subject: 3.2  Courses on HP-UX
  197.  
  198. Call the following numbers for information or the latest HP Education Catalog.
  199. U.S.:    1-800-HPCLASS {1-800-472-5277}
  200. Canada:  (416)678-9430
  201.   
  202. ------------------------------
  203.  
  204. Subject: 3.3  Interex, The International Association of HP Computer Users
  205.  
  206. Interex is the International Association of HP Computer Users and the largest HP
  207. user group in the world.  The organization is more than 19 years old with
  208. thousands of members worldwide.  It represents HP users of all kinds including
  209. HP9000, HP3000, HP1000, and Vectra PC's with annual conferences attracting
  210. vendors from all over the world.  Interex publishes "Interact" for the HP3000
  211. and Vectra PC user, "hp-ux/usr" for the HP9000 user and a realtime operating
  212. system newsletter for the HP1000 users.
  213.  
  214. There are many regional users groups, many holding annual or semiannual
  215. conferences, and Interex has a collection of software (with sources)  covering
  216. MPE, HP-UX and RTE called the Contributed Software Library.
  217.  
  218. To contact Interex:
  219.    (800) INT-EREX  or (800) 468-3739
  220.    or:  (408) 747-0227
  221.    fax: (408) 747-0947
  222.    email: ehrhardt@interex.org   .. editor of hp-ux/usr magazine
  223.           pubs@interex.org       .. Circulation/advertising
  224.           membership@interex.org .. membership inquiries
  225.           cslhpux@interex.org    .. contributed software library (hp-ux)
  226.    Compuserve:  76376,1222
  227.    Address:  Interex                   Interex  (for US mail)
  228.              1192 Borregas Avenue.     P.O. Box 3439
  229.              Sunnyvale, CA 94088       Sunnyvale, CA  94088-3439
  230.   
  231. ------------------------------
  232.  
  233. Subject: 3.4  InterWorks, The International HP Workstation Users Group
  234.  
  235. InterWorks, formerly the Apollo Domain User's Society (ADUS), was formed to
  236. provide a users group specifically for HP _workstation_ users. The group
  237. publishes a quarterly newsletter, "The Works", holds an annual conference (see
  238. below), and maintains a library of HP-UX (and DOMAIN) software (see below).
  239. Membership is free; please contact Carol Relph for more information:
  240.  
  241. Carol Relph
  242. Manager, Member Services
  243. InterWorks, Inc.
  244. c/o Hewlett-Packard Company
  245. Workstation Business Unit
  246. 300 Apollo Drive, Mailstop IWORKS
  247. Chelmsford, MA  01824-3623
  248. (508)256-6600
  249. E-Mail:  relph_c@apollo.hp.com
  250.   
  251. ------------------------------
  252.  
  253. Subject: 3.5  Interex HP Users Conferences 1994
  254.  
  255. For more information, please contact the INTEREX Conference Department
  256. at the above address.
  257.   
  258. ------------------------------
  259.  
  260. Subject: 3.6  InterWorks Conference 1994
  261.  
  262. The next InterWorks conference is to be held 5/15/94 -  5/18/94 at the Buena
  263. Vista Palace in Walt Disney World Village, Buena Vista,  Florida.
  264.   
  265. ------------------------------
  266.  
  267. Subject: 3.7  HP/Works
  268.  
  269. HP/Works is basically the UK equivalent of InterWorks - catering for users
  270. of HP workstations running both HP-UX and Domain/OS. Full membership
  271. details are avaiable from:-
  272.  
  273.     Helen Grainger,
  274.     PO Box 47,
  275.     Bicester,
  276.     United Kingdom +44 (0)869 321080
  277.  
  278. or by e-mail to J.G.Owen@bham.ac.uk
  279.  
  280. ------------------------------
  281.  
  282. Subject: 3.8! HP/Works Conferences
  283.  
  284. Details about the next conference can be obtained from either Helen
  285. Grainger or by e-mail via j.g.owen@bham.ac.uk.
  286.  
  287. ------------------------------
  288.  
  289. Subject: 3.9+ Japanese HP Computer Users Association
  290.  
  291. In Japan, the HP users group is called CUA (Computer Users Association);
  292. for information, contact <tagami@hpujuu01.yhp.hp.com>.
  293.  
  294. ------------------------------
  295.  
  296. Subject: 3.10  HP-UX publicly available software from InterWorks.
  297.  
  298. Dave Shaw maintains a library of publicly available HP-UX related software on
  299. behalf of the InterWorks User Group. He can be reached at (303)443-9413,
  300. or via e-mail at <librarian@iworks.ecn.uiowa.edu>. The following text
  301. is provided by Dave. See the README mentioned below for details.
  302.  
  303. There is an archive of UX-related software on the InterWorks library node
  304. (iworks.ecn.uiowa.edu--128.255.18.10). Note that everything is available  via
  305. anonymous ftp in the comp.hp directory (ftp://iworks.ecn.uiowa.edu/comp.hp). The
  306. README there contains a complete  list of the available software. Nearly all of
  307. it is also available on a CD for $75.00 ($85.00 outside the U.S.). For ordering
  308. information contact  Carol Relph.
  309.  
  310. All of the archive is suitable for the 700 series machines, and I have started
  311. to verify that. Executables are included in some packages. If you take a package
  312. and find that you must build an executable (or do some porting) for your machine
  313. and/or OS level, I would appreciate hearing about your work and receiving a copy
  314. of the executable you built.
  315.  
  316. Note that I have had very little involvement in the writing or packaging  of any
  317. of the items on the list-- they are the result of the work of many  other
  318. people. In particular, note that the available binaries have not been compiled
  319. by me. If you are concerned about running binaries compiled by someone else,
  320. build them yourself with the available source. Also note  that individual
  321. authors may include text regarding the rights of others to use and distribute
  322. their code. 
  323.  
  324. Thanks to all the contributors.
  325.   
  326. ------------------------------
  327.  
  328. Subject: 3.11  Anonymous FTP Sites for HP-UX, and UNIX related software.
  329.  
  330. Site:      ftp://iworks.ecn.uiowa.edu/comp.hp
  331. Address:   128.255.18.10
  332. Contents:  The InterWorks HP-UX Library in the directory "comp.hp" as
  333.            described above. The iworks node also keeps the last 4-6 
  334.            months of comp.sys.hp.hpux online (via an InterWorks member logon 
  335.            (see question 3.4 above). An archive going back to June 1990 
  336.            is available-- contact the InterWorks librarian for details.
  337.            Additionally, a large (~1300 line) "HP-UX Troubleshooting
  338.            Guide" is available under the InterWorks member logon.
  339.  
  340. Name:      ftp.csc.liv.ac.uk
  341. Address:   138.253.42.172
  342. Contents:  Large number of packages ported to HP-UX 8.07 and 9.01
  343.  
  344. Here is an overview of ftp.csc.liv.ac.uk as of Sun 10 Apr 1994:
  345. (The 2 most recently installed packages in each category are in brackets)
  346.  
  347.  54 packages in /hpux9/X11R5/Graphics   (ImageMagick-2.3.7 xpm-3.4a)
  348.  43 packages in /hpux9/Games            (xpilot-3.1.1 xpilot_sounds-3.1.0)
  349.  42 packages in /hpux9/X11R5/Misc       (fvwm-1.21z xmailbox++-1.2)
  350.  32 packages in /hpux9/Networking       (wuftpd-2.3 inn-1.4sec)
  351.  27 packages in /hpux8/Maths/Misc       (octave-1.0 fudgit-2.34)
  352.  25 packages in /hpux8/X11R4/Misc       (xsky-2.01 xvertext-5.0)
  353.  24 packages in /hpux9/Gnu              (bulletin-01.94 indent-1.9.1)
  354.  23 packages in /hpux9/X11R5/Demos      (xlockmore-1.2 xmountains-1.2)
  355.  21 packages in /hpux8/Games            (xblockbuster-1.03 xyahtzee-1.01)
  356.  19 packages in /hpux9/X11R5/Networking (freeWAIS-0.3 xbrowser-1.2)
  357.  18 packages in /hpux8/Networking       (netperf-1.7.1 tftpd-1.0)
  358.  17 packages in /hpux9/X11R5/Toolkits   (libsx-1.0 wxLib-1.50)
  359.  16 packages in /hpux9/Text             (ispell-3.1.04 dvips-5.55)
  360.  16 packages in /hpux9/Sysadmin         (expect-5.6.3 lsof-2.32)
  361.  16 packages in /hpux8/X11R4/Demos      (xball-3.0 xspringies-1.1)
  362.  15 packages in /hpux9/X11R5/Core       (imake-5.03 imake-5.02)
  363.  15 packages in /hpux9/Misc             (screen-3.5.4alpha pcomm-2.0.1)
  364.  15 packages in /hpux8/X11R4/XView3     (workman-1.2.1 workman-1.2)
  365.  14 packages in /hpux8/X11R4/Toolkits   (andrew-5.1.part04 Wcl-2.5)
  366.  13 packages in /hpux9/Editors          (nedit-3.0 xcoral-2.1)
  367.  13 packages in /hpux8/Maths/LinAlgebra (rlab.all-0.97d rlab-0.97d)
  368.  11 packages in /hpux8/Misc             (gaps-5.11 csound-2.00b)
  369.  10 packages in /hpux9/Languages        (swi-1.8.9 sgmls-1.1)
  370.   9 packages in /hpux9/Users            (less-178.magic.2 pine-3.89)
  371.   8 packages in /hpux8/X11R4/Graphics   (xv-2.21 xscribble-a6)
  372.   8 packages in /hpux8/X11R4/Core       (MITlib-4.00 appres-1.5)
  373.   8 packages in /hpux8/Sysadmin         (rpasd-2.0 pltools-2.0.2)
  374.   8 packages in /hpux8/Physics          (asa-2.27 asa-2.15)
  375.   8 packages in /hpux8/Languages        (gofer-2.28b scheme-7.1.3)
  376.   7 packages in /hpux8/X11R5            (XR5src-5.23.part01 XR5built-5.23)
  377.   7 packages in /hpux8/X11R4/Networking (adcmail-0.9 collage-1.0b)
  378.   7 packages in /hpux8/Text             (tr2latex-2.2a TeX-3.14)
  379.   6 packages in /hpux8/NeuralNets       (am-6.0 GAucsd-1.4)
  380.   5 packages in /hpux8/Users            (xmodem-3.9 es-0.84)
  381.   4 packages in /hpux9/NeuralNets       (snns-3.1 atree-2.0)
  382. =======================================
  383. 584 packages in total
  384.  
  385. The Liverpool archive supports a gopher server at gopher.csc.liv.ac.uk
  386. (138.253.42.174) and also a mail server at mail-server@csc.liv.ac.uk for
  387. users without access to anonymous FTP.
  388.  
  389. Name:      hpux.ask.uni-karlsruhe.de
  390. Address:   129.13.200.57
  391. Contents:  The official German mirror site of ftp.csc.liv.ac.uk
  392.  
  393. Name:      ftp.cae.wisc.edu
  394. Address:   144.92.4.15
  395. Contents:  The official US mirror site of ftp.csc.liv.ac.uk
  396.  
  397. Name:      hpux.cict.fr
  398. Address:   192.70.79.53
  399. Contents:  The official French mirror site of ftp.csc.liv.ac.uk
  400.  
  401.  
  402. The Interworks and Liverpool sites are now cooperating as follows:
  403.  
  404. 1) The Liverpool archive will carry packages originating from and submitted to
  405.    the Interworks site.  These packages will  be integrated into the  existing
  406.    structure of the archive.
  407.  
  408. 2) Interworks will provide binaries for each of the  packages on the Liverpool
  409.    archive.  These  packages  will be  organized into  a  directory  structure
  410.    matching  that of  the Liverpool  site. *** Note:  This is  not immediately
  411.    available but should be up and running soon ***
  412.  
  413. 3) Interworks will continue to provide complete packages (source+binaries) for
  414.    the HP and user-contributed software in its library.
  415.  
  416. Site:      ftp://ftp.prz.tu-berlin.de 
  417. Address:   130.149.62.68
  418. Contents:  Much of the Liverpool archive.
  419.  
  420. Site:      ftp://export.lcs.mit.edu
  421. Address:   18.24.0.12
  422. Contents:  The X Window System and contributed clients.
  423.  
  424. Site:      ftp://hpcvaaz.cv.hp.com
  425. Address:   15.255.72.15
  426. Contents:  X Window System libraries and utilities.
  427.            ftp://hpcvaaz.cv.hp.com/pub/700RX/released/b0502 
  428.            contains the latest version of the 700RX software.  There are 
  429.            subdirectories for HP-UX hosts, Solaris and SunOS.
  430.            
  431. Site:      ftp://ftpboi.external.hp.com
  432. Address:   192.6.71.2
  433. Contents:  Drivers for HP printers.
  434.            
  435. Site:      ftp://lut.fi/pub/hpux
  436.            ftp://lut.fi/pub/unix/hp-ux
  437. Address:   157.24.10.8
  438. Contents:  Various
  439.  
  440. Site:      ftp://nic.funet.fi/pub/unix/arch/hpux
  441. Address:   128.214.6.100
  442. Contents:  Various
  443.  
  444. Site:      ftp://prep.ai.mit.edu
  445. Address:   18.71.0.38
  446. Contents:  The Free Software Foundation's GNU utilities, etc.
  447.  
  448. Site:      ftp://hybrid.irfu.se/pub
  449. Address:   130.238.30.23
  450. Contents:  X11 archive and shared libraries, full imake support,
  451.            and all missing .h files for both X11R4 and R5, dvi2pcl.
  452.  
  453. Site:      ftp://geod.emr.ca
  454. Address:   ?
  455. Contents:  GNU stuff ported to HP-UX 9.x by Pierre Mathieu.
  456.  
  457. Site:      ftp://jazz.gsfc.nasa.gov
  458. Address:   ?
  459. Contents:  bathymetry, FFT, graph, pgplot, triangulation, sortroutine
  460.  
  461. Site:      ftp://jaguar.cs.utah.edu/dist
  462. Address:   ?
  463. Contents:  FSF compiler/assembler/debugger tools. Code usually
  464.            has PA specific bugfixes/enhancements not yet in the 
  465.            official FSF releases.  Source and binaries available.
  466.            hpux-symtab.h has symbolic debug format documentation.
  467.            hpgdb.patch has a gdb patch for HP compilers.
  468.  
  469.            Currently available in the "dist" directory:
  470.  
  471.            GDB 4.11.u2     - Last update 12/04/93
  472.            HPGDB 4.11.u2   - Last update 12/04/93
  473.            GAS 2.2.u2      - Last update 12/04/93
  474.            GCC 2.5.6.u4    - Last update 12/04/93
  475.            LIBG++ 2.5.2.u2 - Last update 12/04/93
  476.  
  477.            Yes, you see gas-2.2; the first cut at a BFD based SOM assembler 
  478.            for the PA is ready for external use.  Release notes are in 
  479.            README.gas.
  480.  
  481.            The prebuilt binaries can be retrieved all at once from 
  482.            hpuxbin.tar.Z, or in pieces from the hpuxbin directory.
  483.  
  484. ------------------------------
  485.  
  486. Subject: 3.12  Where can I get a demo CD with software for HP-UX?
  487.  
  488. See your friendly local HP sales rep to get a copy of the "Power On II" CD.
  489. Be sure and check out the Drive demo.
  490.   
  491. ------------------------------
  492.  
  493. Subject: 3.13! HP-UX patch information
  494.  
  495. To determine what patches are installed:
  496.  
  497. The standard patch installation will leave a directory in /system
  498. that is is name of the patch.  For example, PHSS_3259 creates
  499.  
  500. /system/PHSS_3259
  501.  
  502. $lsf /system/PHSS_3259
  503. CDFinfo     copyright   customize*  index       new/        orig/
  504.  
  505. The orig directory contains the modules that were replaced by the  patch and the
  506. new directory will contain any modules that were not installed for whatever
  507. reason.  
  508.  
  509. This can take up a lot of space, so you may want to archive  this directory and
  510. remove the new and orig sub-directories.  You may want to leave the customize
  511. file because it has a list of the modules replaced. To see the list do:
  512.  
  513.    grep Patch customize | grep -v \#
  514.  
  515. Another place to look is in /etc/filesets:
  516.  
  517. $ls /etc/filesets/PHSS*
  518. /etc/filesets/PHSS_1644  /etc/filesets/PHSS_2695  /etc/filesets/PHSS_3060
  519. ...
  520. /etc/filesets/PHSS_2686  /etc/filesets/PHSS_3032  /etc/filesets/PHSS_3328
  521.  
  522. If someone has removed the /system/PHSS* directories and the PHSS*
  523. entries in /etc/filesets, there is no easy way to tell what patches
  524. are installed.  You can tell if a given patch has been installed by
  525. comparing what(1) and sum(1) outputs with those given in the 
  526. PHSS_nnnn.text file. Refer to question 7.11 about kernel patches. 
  527.  
  528. How to get patches:
  529.  
  530. There are three ways to get patches.
  531.  
  532. If you have a support contract you can call the Response Center (800-633-3600)
  533. and have the patches sent to you on magnetic media.
  534.  
  535. If you have Basic support or Response Center support you can access the Support
  536. Line (support.mayfield.hp.com,192.6.148.19) and down load patches via ftp,
  537. uucp, or kermit. The access can be modem or internet.
  538.  
  539. Regardless of the support you have, you can get patches via e-mail via the
  540. SupportLine mail service. To get the user guide, send e-mail to
  541. <support@support.mayfield.hp.com>, with "send guide" in the text portion of the
  542. message. No subject is required. The result is nroff-formatted; to get the plain
  543. ASCII version, use "send guide.txt". In addition to patches, you can also access
  544. online problem solving information, subscribe to mailing lists, and get
  545. documents.
  546.  
  547. John Morris of the Atlanta Response Center posts a weekly list of  new patches
  548. to comp.sys.hp.hpux on Mondays.  It tells what's  new and what patches are 
  549. replaced by the new patches, along with sizes.
  550.  
  551. For reference, the latest patches for critical parts of 9.01 are:
  552.  
  553. PHKL_2449 :  s700 9.01 limit dynamic buffer cache allocation
  554. PHKL_3075 :  s700 9.01 Fix for select() panic and memory leak
  555. PHKL_3985 :  s700 9.01 kernel megapatch 
  556. PHNE_3604 :  s700_800 9.X fix for multiple rpc.lockd problems
  557. PHNE_3701 :  s700_800 9.X automount(1M) patch including map entry fix
  558. PHNE_3424 :  s700_800 9.X fix for multiple rpc.statd problems
  559. PHSS_3812 :  s700 9.X /bin/ld fixes
  560. PHSS_3773 :  s700 9.X ANSI C compiler patch revision A.09.63
  561. PHSS_3779 :  s700 9.X X11R5 Xserver March 1994 Periodic Patch
  562.  
  563. Similar patches for 9.03 are:
  564.  
  565. PHKL_2755 :  s700 9.03 fix for dynamic buffer cache performance problem
  566. PHKL_3076 :  s700 9.03 Fix for select() panic
  567. PHKL_3570 :  s700 9.03 data segmentation fault when calling vfork()
  568. PHKL_3621 :  s700 9.03 patch for NFS/symbolic links/fsync
  569. PHNE_3388 :  s700_800 9.X corrects rpc.mountd problems
  570. PHNE_3424 :  s700_800 9.X fix for multiple rpc.statd problems
  571. PHNE_3573 :  s700 9.03 fixes multiple ARPA Transport defects
  572. PHNE_3604 :  s700_800 9.X fix for multiple rpc.lockd problems
  573. PHSS_3773 :  s700 9.X ANSI C compiler patch revision A.09.63
  574. PHKL_3975 :  s700 9.03 kernel megapatch with NFS readdir/seekdir fix
  575. PHSS_3812 :  s700_800 9.X ld(1) patch
  576. PHSS_3779 :  s700 9.X X11R5 Xserver March 1994 Periodic Patch
  577.  
  578. ------------------------------
  579.  
  580. Subject: 3.14  How can I send mail to an "hpdesk" address?
  581.  
  582. For a person whose DESK address is:
  583.   JANE DOE /HP1234/XY
  584.  
  585. Ignore the subentity (XY) and use the form:
  586.   jane_doe@hp1234.desk.hp.com
  587.  
  588. Send them a test message and tell them to make a note of the return address,
  589. as forming internet addresses on DESK is a little more complicated.  If
  590. there is an X.400 system between you and the DESK person, what you get back
  591. may look like a very strange internet address, but it generally works.
  592.  
  593. Notice the underscore between names.  Names can be first_last or last_first, but
  594. first_last is easier to remember and get correct, especially if they have
  595. initials in their name as in fred_l_doe@hpatc1.desk.hp.com.  Be sure that the
  596. DESK address they give you is exactly what is reported by DESK when they send a
  597. message to themselves or look at the distribution list on a piece of mail the
  598. recipient already has to verify the address.
  599.  
  600. (Thanks to Bob Niland and Bill Hassell)
  601.   
  602. ------------------------------
  603.  
  604. Subject: 3.15  What are the known issues with porting BSD-based programs to HP-UX?
  605.  
  606. Mike Peterson <system@alchemy.chem.utoronto.ca> periodically posts
  607. his list of BSD-HP tricks to comp.sys.hp.hpux. It is also archived on the
  608. iworks FTP site (mentioned above) as "hptricks".
  609.   
  610. ------------------------------
  611.  
  612. Subject: 3.16  What periodicals are available that focus on HP-UX?
  613.  
  614. o Interworks publishes The Works, a user group newsletter for Interworks
  615.   members.
  616.  
  617. o Interex publishes hp-ux/usr, an HP-UX focused newsletter.
  618.  
  619. o HP Professional (The Magazine for Hewlett-Packard Enterprise Computing)
  620.  
  621.   This magazine covers MPE, HP-UX, PCs, peripherals and Networking for
  622.   HP users.  Its focus is on both commercial as well as technical
  623.   computing. It is published by:
  624.           Cardinal Business Media, Inc.
  625.           101 Witmer Road
  626.           Horsham, PA 19044
  627.           (215) 957-1500     FAX: (215) 957-1050
  628.    email: simpson@cardinal.com (editor-in-chief)
  629.       
  630. o The HP Chronicle (The Independent Newspaper for HP Computer Users)
  631.     
  632.   This tabloid-sized newspaper contains news from HP and other vendors 
  633.   of compatible hardware, software and peripherals. Published by:
  634.                Publications and Communications, Inc
  635.                12416 Hymeadow Drive
  636.                Austin, TX  8750-1896
  637.                (512) 250-9023    Fax: (512) 231-3900
  638.                email: {cs.utexas.edu, execu, texbell}!pcinews!wks
  639.                Compuserve: 76011,307
  640.                MCI mail: PCI
  641.                EasyLink: 62755060
  642.  
  643. o HP/Apollo Workstation
  644.  
  645.   A magazine that focuses specifically on HP/Apollo workstations.
  646.   Published by PCI (same as HP Chronicle).
  647.   
  648. o Open Systems Today (general Unix and other "open systems" weekly)
  649.   has a regular "HP Focus" section.
  650.   
  651. o Unix Review covers general Unix topics monthly.
  652.  
  653. (Thanks to Bill Hassell, HP, for most of this)
  654.   
  655. ------------------------------
  656.  
  657. Subject: 3.17  Books on HP-UX
  658.  
  659. A recently published book on HP-UX system administration:
  660.  
  661.   'The HP-UX System Administrator's "How To" Book'
  662.    by Marty Poniatowski
  663.      Prentice-Hall
  664.      ISBN 0-13-099821-4
  665.      
  666. If you're serious about adminstering HP-UX workstations, get this book.
  667. Unfortunately, it fails to mention the Internet or this FAQ as
  668. alternate resources, but it does discuss Interworks and Interex.
  669.      
  670. (Thanks to Mike Taylor, HP)
  671.  
  672. ------------------------------
  673.  
  674. Subject: 3.18+  HP-UX Sysadmin Mailing List
  675.  
  676. Bart Muyzer runs an HP-UX system administration mailing list. To reach 
  677. ALL MEMBERS of the list, send e-mail to <hpux-admin@cv.ruu.nl>; to SUBSCRIBE, 
  678. send mail to <hpux-admin-request@cv.ruu.nl>. The following commands (in the 
  679. subject line) can be handled automatically by the administrative request 
  680. filter processor <hpux-admin-request@cv.ruu.nl>:
  681.  
  682.     subscribe       - to subscribe yourself to the list
  683.     unsubscribe     - to unsubscribe yourself from the list
  684.     members         - to get a list of all subscribers
  685.  
  686. Problems, questions, suggestions and the like should go to the address 
  687. "owner-hpux-admin@cv.ruu.nl".
  688.  
  689. ------------------------------
  690.  
  691. Subject: 3.19+  HP WWW Access
  692.  
  693. The HP SupportLine World Wide Web service allows you to:
  694.  
  695. o  Resolve software problems by searching up-to-date support and problem-
  696.    solving information;
  697. o  Browse news and current announcements; and
  698. o  Subscribe to automatically receive the latest Hewlett-Packard support
  699.    information.
  700.  
  701. The HP SupportLine World Wide Web service home page is located at URL:
  702.  
  703.       http://support.mayfield.hp.com
  704.  
  705. The Hewlett-Packard World Wide Web home page (Access HP) is located at URL:
  706.  
  707.       http://www.hp.com
  708.  
  709. Please forward all feedback about the HP SupportLine World Wide Web service
  710. to webmaster@support.mayfield.hp.com.
  711.  
  712. -----------------------------
  713.  
  714. Subject: 4. THIRD PARTY VENDORS
  715.  
  716. ------------------------------
  717.  
  718. Subject: 4.1  Third party vendors for RAM.
  719.  
  720. The following vendors are listed in alphabetical order. No guarantees
  721. are made regarding compatibility or relative merit of the vendors.
  722.  
  723. Camintonn                          Clearpoint Research Corporation
  724. 22 Morgan                          1000 E. Woodfield Road, Suite 102
  725. Irvine, CA 92718                   Schaumburg, IL 60173
  726. (800) 843-8336                     (708) 619-9227
  727. (714) 454-6500
  728.  
  729. Concorde Technologies              Dataram
  730. 7966 Arjons Dr. B-201              PO Box 7528
  731. San Diego, CA 92126                Princeton, NJ 08543-7528
  732. (800) 359-0282                     (800) DATARAM
  733. (619) 578-3188                     (800) 799-0071
  734.  
  735. Digitial Micronics                 Eventide
  736. 2075 Corte Del Nogal               1 Alsan Way
  737. Unit N                             Little Ferry, NJ 07643
  738. Carlsbad, CA 92009                 (201) 641-1200
  739.  
  740. Helios Systems                     Herstal Automation
  741. 1996 Lundy Ave                     3171 West Twelve Mile Rd.
  742. San Jose, CA 95131                 Berkley, MI 48072
  743. (408) 432-0292                     (313) 548-2001
  744. (800) 366-0283
  745.  
  746. IEM                                Infotek Systems
  747. P.O. Box 1889                      625 South Lincoln
  748. Fort Collins, CO 80522             Suite 204
  749. (800) 321-4671                     Steamboat Springs, CO 80487
  750. (303) 221-3005                     (800) 767-1084
  751.  
  752. Intelligent Interfaces             ISA Ltd
  753. P.O. Box 1486                      1-1-5 Sekiguchi
  754. Stone Mountain, GA 30086-1486      Bunkyo-Ku
  755. (800) 842-0888                     Tokyo 112 Japan
  756.                                    81-3 (5261) 1160
  757.                                    US Office (Texas)
  758.                                    (713) 493-9925
  759.  
  760. Kelly Computer Systems             Kingston Technology Corporation
  761. 1101 San Antonio Rd.               17600 Newhope Street
  762. Mountain View, CA 94043            Fountain Valley, CA 92708
  763. (415) 960-1010                     (714) 435-2600
  764.  
  765. Martech                            Merida Systems
  766. 1151 W. Valley Blvd.               (617) 933-6790
  767. Alhambra, CA 91803-2493
  768. (800) 582-3555
  769. (818) 281-3555
  770.  
  771. MDL Corporation
  772. 15301 NE 90th St.
  773. Redmond, WA 98052
  774. FAX (206)861-6767
  775. (800)800-3766
  776. (206)861-6700
  777.  
  778. Newport Digital                    R Squared
  779. 14731 Franklin Avenue              11211 E. Arapahoe Rd., Suite 200
  780. Suite A                            Englewood, CO 80112
  781. Tustin, CA 92680                   (303) 799-9292
  782. (714) 730-3644                     (800) 777-3478
  783.  
  784. (Thanks to Roy McMorran <mcmorran@ll.mit.edu>)
  785.   
  786. ------------------------------
  787.  
  788. Subject: 4.2  Third party vendors for peripherals
  789.  
  790. Vendor              Products
  791. ------              --------
  792. MDL Corporation     Disk, tape, optical, jukebox, EISA expansion, RAID, others.
  793. 15301 NE 90th St.
  794. Redmond, WA 98052
  795. FAX (206)861-6767
  796. (800)800-3766
  797. (206)861-6700
  798.  
  799. Modular Industrial  MICHIL PS2 to HP-HIL converter. Allows standard PC keyboards
  800. Computers           and mice to be connected to HP workstations.
  801. 615-499-0700
  802. Joe Malley
  803.  
  804. ITAC Systems, Inc.  Supports Mouse-trak trackball for HP-HIL
  805. 3113 Benton St.
  806. Garland, Tx 75042
  807. 800-533-4822
  808. yvonne@moustrak.com
  809.  
  810. (Thanks to Mike Lampi, MDL, Jeff Dwork, AMD, and Walter Underwood, HP)
  811.  
  812. ------------------------------
  813.  
  814. Subject: 5. UTILITIES
  815.  
  816. ------------------------------
  817.  
  818. Subject: 5.1  ASCII to Postscript converter.
  819.  
  820. You can get an ASCII to Postscript converter from:
  821.  
  822. ftp://ftp.uu.net/usenet/comp.sources.misc/volume10/a2ps3.Z
  823.  
  824. Additionally, nenscript is available from various FTP sites.
  825.   
  826. ------------------------------
  827.  
  828. Subject: 5.2  How do I make perl on HP-UX?
  829.  
  830.    Reply like this to Configure:
  831.  
  832.    1. When it asks for optimization flags answer
  833.         +O1 if you have HP-UX 7.05 or less
  834.         -O  if you have HP-UX 8.0 or later.
  835.    2. When it asks for additional flags to cc answer
  836.         -DJMPCLOBBER
  837.    3. When it asks for additional libraries answer
  838.     -lndbm -lm    (ignore the other libraries Configure finds).
  839.       You can also safely add -lBSD if you wan't BSD signal semantics.
  840.    4. When it asks if you wan't to use perl's malloc answer
  841.     y
  842.       If you have HP-UX 8.07 or later you may choose to answer no to this since
  843.       that malloc is OK.
  844.    5. When perl asks on which boundarie a double must be aligned answer
  845.     8    if you are on a 9000/800 or 9000/700 series machine (HP-PA
  846.          architecture).
  847.     2    otherwise (Motorola 68k architecture)
  848.   
  849. ------------------------------
  850.  
  851. Subject: 5.3  What is the status of the various gnu items on HP-UX?
  852.  
  853. Pierre Mathieu <mathieu@geod.emr.ca> periodically posts a list to
  854. comp.sys.hp.hpux; the last revision is 2.3. Jeff Law of the University of Utah
  855. maintains an archive on jaguar.cs.utah.edu of the latest PA-RISC ported compiler
  856. tools; see question 3.10 above for details.
  857.  
  858. ------------------------------
  859.  
  860. Subject: 6. X WINDOW SYSTEM, MOTIF, AND HP-VUE
  861.  
  862. ------------------------------
  863.  
  864. Subject: 6.1  X11 libraries (Athena, etc.) and utilities (imake, etc.).
  865.  
  866. As you may have noticed, HP does not ship a "full" set of X11 libraries and
  867. include files, and does not provide imake or associated tools. There is a HP
  868. maintained, but UNSUPPORTED, set of X11R4 libraries and utilities for the HP
  869. 9000 Series 300, 400, 700, and 800.  You can get the libraries, include files,
  870. and config files (imake) via anonymous FTP from 
  871.  
  872. ftp://hpcvaaz.cv.hp.com/pub/MitX11R4/libs.s*00.tar.Z. 
  873.  
  874. This is also archived on the iworks node as mentioned above. HP has also
  875. submitted X11R5 sources to the iworks node as mentioned above. And, Bo Thide has
  876. X11R4 and R5 support available via anon. FTP as mentioned above.
  877.   
  878. ------------------------------
  879.  
  880. Subject: 6.2  How can I display an image on the root window with HP-VUE?
  881.  
  882. Set Vuewm*backdrop*image:   none. Note that there is an explicit pick for this
  883. in the Style Manager with HP-VUE 3.0. When the backdrop is clear, you can use
  884. xloadimage, xsetroot, xv, or the like to display the image of your choice.
  885.   
  886. ------------------------------
  887.  
  888. Subject: 6.3  How do I get a scroll bar on hpterms?
  889.  
  890. Set the following resources:
  891.  
  892. HPterm*scrollBar:    TRUE
  893. HPterm*saveLines:    1024
  894.  
  895. or some other other arbitrarily large number.  To do this interactively, use
  896. "hpterm -sb -sl 1024". You can also set these in an app-default file
  897. (/usr/lib/X11/app-defaults/HPterm). You can also set saveLines to something
  898. like "4s", which indicates four screens.
  899.   
  900. ------------------------------
  901.  
  902. Subject: 6.4  How can I put a title in my hpterm titlebar?
  903.  
  904. Here is a two line program that you might find useful:
  905.  
  906. /* Quick and dirty program to put argv[1] in the title bar of an hpterm
  907.    Tom Arons March 1992
  908. */
  909. #include <string.h>
  910. main(argc,argv)
  911.         int argc; char **argv;
  912. {
  913.         printf("\033&f0k%dD%s", strlen(argv[1]), argv[1]);
  914.         printf("\033&f-1k%dD%s", strlen(argv[1]), argv[1]);
  915. }
  916.  
  917. An alternative is:
  918.  
  919. #!/bin/sh
  920. LENGTH=`strlen $1`
  921. echo "&f0k${LENGTH}D$1\c"
  922.  
  923. In case in gets mangled, that's ESC between the first quote and the f0k.
  924.  
  925. strlen, in case you don't have it, comes from:
  926.  
  927. #include <stdio.h>
  928.  
  929. main(argc, argv)
  930.    int argc;
  931.    int *argv[];
  932. {
  933.    if (argc != 2)
  934.       exit(0);
  935.    printf("%d\n", strlen(argv[1]));
  936. }
  937.  
  938. (Thanks to Tom Arons <arons@ash.eecs.ucdavis.edu> and John T. Beck, HP.)
  939.   
  940. ------------------------------
  941.  
  942. Subject: 6.5  How come my hpterms keep going away by themselves?
  943.  
  944. You are probably using the C Shell (/bin/csh) and have autologout set (it is
  945. set to 60 minutes by default).  Put an "unset autologout" in your ".cshrc".
  946.  
  947. If you are using the korn shell it is probably due to the value set for
  948. the shell variable TMOUT.  Set it to 0 (infinite timeout).
  949.  
  950. (Thanks to Jim Sharpe <jms@spatial.com> for the Korn Shell information.)
  951.   
  952. ------------------------------
  953.  
  954. Subject: 6.6  How come my HP X/Motif clients take a LONG time to display on a Sun?
  955.  
  956. The problem is with the OW3 server.  You can request OW3 patch 100444-35 (or
  957. whatever is the current replacement) from Sun to fix the problem. Supposedly
  958. this has been rolled into OW 3.0.1. A workaround is to set the X resource
  959. *useColorObj: False on the Sun.
  960.   
  961. ------------------------------
  962.  
  963. Subject: 6.7  How can I get my login stuff to work under HP-VUE?
  964.  
  965. When you login  via VUE, VUE  sources  ~/.vueprofile  *INSTEAD  OF* your .login
  966. (csh),  .profile  (sh/ksh),  and other  startup  files.  Whatever actions  are
  967. taken in  ~/.vueprofile  are  persistent  across any  children started  by VUE.
  968. Meaning that if you  symbolic  link  ~/.vueprofile  to your ~/.profile,  then
  969. VUE will source your  ~/.profile  before  starting the window system, and all
  970. children  (hpterms/xterms  and their  interactive shells) will inherit this
  971. environment (prompt variables et al).
  972.  
  973. Documentation indicates your ~/.vueprofile should contain either csh, or sh/ksh
  974. syntax, depending upon what your login shell is.
  975.  
  976. When csh is my login shell, I set my  ~/.vueprofile  to contain only two
  977. lines:
  978.  
  979.     if ( -f /etc/csh.login ) source /etc/csh.login
  980.     if ( -f ~/.cshrc ) source ~/.cshrc
  981.  
  982. When sh/ksh is my login shell, I set my ~/.vueprofile to contain only two
  983. lines:
  984.  
  985.     test -f /etc/profile && . /etc/profile
  986.     test -f ${HOME}/.profile && . ${HOME}/.profile
  987.  
  988. So, before  starting the window  manager and any clients, VUE makes sure that
  989. all my shell startup files are sourced and all the variables I want in my shell
  990. environment are already there and waiting for me.
  991.  
  992. (Thanks to Steve Jumonville, HP)
  993.   
  994. ------------------------------
  995.  
  996. Subject: 6.8  How can I get console messages to go to an hpterm?
  997.  
  998. You can avoid console messages writing to your graphics planes and trashing your
  999. VUE session by starting an hpterm and designating it to receive console
  1000. messages, and to de-iconify, when console messages are received.  Put something
  1001. like this in your "vue.session" file in ~/.vue/sessions/home. (line wrapped
  1002. for readability):
  1003.  
  1004. # Start up the  Terminal  Console as iconic,  and raise it if any output
  1005.  
  1006. vuesmcmd -cmd "hpterm -C -iconic -ls -sb -sl 256 -name Console -T Console 
  1007. -xrm *mapOnOutputDelay:\ 30 -xrm *mapOnOutput:\ True 
  1008. -xrm Console*clientFunctions:\ -close -xrm *workspaceList:\ all"
  1009.  
  1010. (Thanks to Steve Jumonville, HP)
  1011.   
  1012. ------------------------------
  1013.  
  1014. Subject: 6.9  What happened to the vuewm key accelerators at VUE 3.0?
  1015.  
  1016. Well, we don't really know. Here's how to set them, though.
  1017. Add an entry like this (you can, of course, customize it to your
  1018. liking) to your $HOME/.vue/vuewmrc file:
  1019.  
  1020. Menu VueWindowMenu
  1021. {
  1022.     "Restore"          _R        Alt<Key>F5         f.normalize
  1023.     "Move"             _M        Alt<Key>F7         f.move
  1024.     "Size"             _S        Alt<Key>F8         f.resize
  1025.     "Minimize"         _n        Alt<Key>F9         f.minimize
  1026.     "Maximize"         _x        Alt<Key>F10        f.maximize
  1027.     "Lower"            _L        Alt<Key>F3         f.lower
  1028.      no-label                                       f.separator
  1029.     "Occupy..."        _O        Alt<Key>O          f.workspace_presence
  1030.     "Occupy all"       _a        Alt Shift<Key>O    f.occupy_all
  1031.      no-label                                       f.separator
  1032.     "Remove from WS"   _e        Alt Shift <Key>F4  f.remove
  1033.     "Close"            _C        Alt<Key>F4         f.kill
  1034. }
  1035.  
  1036. And then add this resource:
  1037.  
  1038. Vuewm*windowMenu:       VueWindowMenu
  1039.  
  1040. And restart the window manager.
  1041.  
  1042. (Thanks to Bill Bennett, HP)
  1043.   
  1044. ------------------------------
  1045.  
  1046. Subject: 6.10  How come I can no longer disable the caps lock key with xmodmap?
  1047.  
  1048. A common activity in the past has been to disable the, shall we say, "placement
  1049. challenged" caps lock key on the ITF keyboard using a simple xmodmap script.
  1050. This no longer works consistently at X11R5/VUE 3.0; the best solution so far:
  1051.  
  1052. In file ~/.vue/sessions/lite/vue.session:
  1053.  
  1054. /usr/bin/X11/xmodmap - << EOF
  1055.         clear lock
  1056.         keycode 55 = Control_L
  1057.         keycode 86 = Caps_Lock
  1058.         keycode 39 = grave asciitilde guillemotleft guillemotright
  1059.         keycode 71 = Escape
  1060.         add Lock = Caps_Lock
  1061.         add Control = Control_L
  1062. EOF
  1063.  
  1064. This works until logout/login, when Caps Lock toggles the control feature, even
  1065. though 'xmodmap -pm' shows that Lock has no assignments. You have to restart the
  1066. server to reset completely, which can be automated by setting the value         
  1067.  
  1068. Vuelogin*terminateServer:   True
  1069.  
  1070. in the file /usr/vue/config/Xconfig.
  1071.   
  1072. ------------------------------
  1073.  
  1074. Subject: 6.11  How come vi behaves strangely in xterms at 9.01?
  1075.  
  1076. Apparantly initial invocation of xterm under csh does not set LINES/COLUMNS
  1077. correctly, and vi doesn't handle that real well. One workaround is to put the
  1078. following in .cshrc:
  1079.  
  1080. if ( $?WINDOWID ) then
  1081.    set noglob;eval `/usr/bin/X11/resize`;unset noglob
  1082. endif
  1083.  
  1084. PHSS_2753 addresses this problem.
  1085.  
  1086. (Thanks to Raymond Nijssen for the workaround.)
  1087.   
  1088. ------------------------------
  1089.  
  1090. Subject: 6.12  How do I disable HP-VUE?
  1091.  
  1092. There have been several recommendations on this base thread. Here is one that is
  1093. documented for X terminals (it works for workstations too). This takes advantage
  1094. of the fact that Vue sets several environment variables for the session, one of
  1095. which is USER.
  1096.  
  1097. Modify the /usr/lib/X11/vue/Vuelogin/Xsession (pre-9.0 HPUX) or the
  1098. /usr/vue/config/Xsession (9.0 HPUX and later) file:
  1099.  
  1100.     1) Go to the portion that contains the coment "Determine the startup
  1101.        if the user didn't specify one." -- approximately line 295 in an
  1102.        unaltered version of the file.
  1103.  
  1104.     2) Add a following case statement to fit your needs. It should look
  1105.        something like:
  1106.  
  1107.                    case $USER in
  1108.                       martha | joe) startup=${HOME}/.x11start''
  1109.                    esac
  1110.  
  1111. You can add as much or little intelligence to this as you like. The above
  1112. assumes that the users' have a .x11start script in their home directory, that
  1113. its permissions are correct, etc. You can build in a fallback machanism. For
  1114. example, the script will check to see if the user has a .x11start script and if
  1115. not, to fallback to /usr/lib/X11/sys.x11start. To see an example of this logic,
  1116. do a more(1) on /usr/bin/x11start.
  1117.  
  1118. The above case statement is documented in Ch 2 of the "HP 700/RX System
  1119. Administrators Guide".
  1120.  
  1121. (Thanks to Bill Morrison, HP)
  1122.   
  1123. ------------------------------
  1124.  
  1125. Subject: 6.13  What's a good termcap entry for hpterm?
  1126.  
  1127. Although it is not supported for hpterm use, the 262x entry in
  1128. /etc/newconfig/termcap will work.
  1129.  
  1130. (Thanks to Frank Slootweg, HP)
  1131.   
  1132. ------------------------------
  1133.  
  1134. Subject: 6.14  My screen is wedged. What should I do?
  1135.  
  1136. One thing you can try is to unplug the keyboard for ~5 seconds. Note that
  1137. you will have to rerun xset -r to get autorepeat to work after doing this.
  1138.  
  1139. (Thanks to Paul Liebert, HP.)
  1140.   
  1141. ------------------------------
  1142.  
  1143. Subject: 6.15  How can I get an X client to come up in an alternate workspace?
  1144.  
  1145. You can try:
  1146.  
  1147. client -xrm "*workspaceList: <name>"
  1148.  
  1149. (Thanks to <finger@rz.uni-karlsruhe.de>)
  1150.   
  1151. ------------------------------
  1152.  
  1153. Subject: 6.16  Where did xline go at 9.x?
  1154.  
  1155. We don't know. The 9.03 Motif version of Glance Plus has what xline had
  1156. (and more).
  1157.   
  1158. ------------------------------
  1159.  
  1160. Subject: 6.17  How can I get HP-VUE to not override colors?
  1161.  
  1162. The Motif library on HP-UX has extra code added to make the default colors
  1163. follow the color schemes that the user selects with the vuestyle controls.  This
  1164. extra code makes trouble for some applications which don't want this unique and
  1165. unexpected behavior.
  1166.  
  1167. You can prevent the entire color scheme mechanism from being used in an
  1168. application by setting "*useColorObj: False" for the application before creating
  1169. the first widget.  This can be done by adding the resource to the application
  1170. defaults, the fallback resources, or as an extra "-xrm" "*useColorObj: False"
  1171. args pair in the argv and argc parameters passed to XtAppInitialize.  If you set
  1172. the resource in xrdb it would be best to set it for only specific applications
  1173. like "MyApp*useColorObj: False".
  1174.  
  1175. Setting the useColorObj resource could make programs core dump on some 8.0*
  1176. systems.  There is a patch that corrects the core dump.
  1177.  
  1178. You can use the vue colors and prevent the specific difference between dialog
  1179. colors vs.  non-dialog colors by setting a resource that specifies the behavoir
  1180. of the color scheme mechanism.  To force the dialogs to use the same colors as
  1181. the other windows set the following resources in your app_defaults file or
  1182. fallback settings-
  1183.  
  1184. *primaryColorSetId: 3 
  1185. *secondaryColorSetId: 3
  1186.  
  1187. This sets the dialog or "secondary" colors to the same set as the primary
  1188. colors.  This is discussed in the "HP VUE 3.0 User's Guide" in chapter 26.
  1189.  
  1190. (Thanks to Mike Stroyan, HP.)
  1191.   
  1192. ------------------------------
  1193.  
  1194. Subject: 6.18  How can I override the system default printer in vuepad?
  1195.  
  1196. cp /usr/vue/types/vuepad.vf $HOME/.vue/types
  1197.  
  1198. Edit the file and change the ACTION PRINT_PR_VPAD to:
  1199.  
  1200. # The PRINT_PR_VPAD action paginates its arguments using pr(1) and prints
  1201. # them with lp(1).  It uses arg 2 for a title.  It then removes the temp
  1202. # file.  This action is used by the client vuepad.
  1203. ACTION PRINT_PR_VPAD
  1204.         TYPE            COMMAND
  1205.         WINDOW-TYPE     NO-STDIO
  1206.         EXEC-HOST       %LocalHost%
  1207.         EXEC-STRING     /bin/sh -c "pr -h %Arg_2% %(File)Arg_1% | \
  1208.                                 lp -d%"Printer:"%; rm %(File)Arg_1%"
  1209.                                    ^^^^^^^^^^^^^^
  1210. END
  1211.  
  1212. This will cause a dialog box to appear to prompt you for a printer name.
  1213. However,  if you set LPDEST in your .vueprofile,  then lp will use that
  1214. value instead of the system default.
  1215.  
  1216. (Thanks, Dan Mercer, <damercer@mmm.com>)
  1217. ------------------------------
  1218.  
  1219. Subject: 6.19  How can I get the VUE 2.01 man page help index back?
  1220.  
  1221. The man pages will show up in the index if you copy over pre-9.X copies 
  1222. of the files "/usr/lib/X11/vue/help/C/manpage.cat", and 
  1223. "/usr/lib/X11/vue/help/C/manpage/*".
  1224.  
  1225. (Thanks, Mike Stroyan, HP)
  1226.  
  1227. ------------------------------
  1228.  
  1229. Subject: 7. OPERATING SYSTEM
  1230.  
  1231. ------------------------------
  1232.  
  1233. Subject: 7.1! Can I have filenames longer than 14 chars?
  1234.  
  1235. Yes, change to long filenames using /etc/convertfs. You can't go back, though.
  1236. Here's how to check if an existing filesystem has long filenames enabled:
  1237.  
  1238. # tunefs -v /dev/rdsk/XXX | grep magic
  1239. magic   95014   clean   FS_OK   time    Tue Mar 23 14:13:01 1993
  1240.        \__ if = 95014 then long filenames
  1241.         \__ if = 11954 then short filenames
  1242.         
  1243. You can also look at this on a per directory basis with the POSIX
  1244. command getconf:
  1245.  
  1246. $ getconf NAME_MAX directory
  1247.  
  1248. (Thanks to Ken Burke and Masataka Isoya <Masataka_Isoya@yhp.hp.com>)
  1249.   
  1250. ------------------------------
  1251.  
  1252. Subject: 7.2  How can I tell what filesets have been loaded on my system?
  1253.  
  1254. Check the /etc/filesets directory. There is a file there for each fileset that
  1255. has been loaded that summarizes the files in that fileset.  This directory is
  1256. used by the /etc/update, /etc/updist, /etc/netdistd, and /etc/rmfn utilities
  1257. for loading and unloading software.
  1258.   
  1259. ------------------------------
  1260.  
  1261. Subject: 7.3  How do I safely remove software from my system?
  1262.  
  1263. The _only_ safe way to remove HP software is to use /etc/rmfn.
  1264.   
  1265. ------------------------------
  1266.  
  1267. Subject: 7.4  What's the scoop on HP-UX 9.03/9.04?
  1268.  
  1269. HP-UX 9.03 and 9.04 have now been officially released from HP and are
  1270. available on request from your software support coordinator. Support
  1271. is included for the 712 workstations, and many patches are included.
  1272.   
  1273. ------------------------------
  1274.  
  1275. Subject: 7.5  How come HP-UX doesn't support NFS root access?
  1276.  
  1277. HP-UX versions previous to 9.X do not support NFS root access to mounted
  1278. file systems. This because they are at an old revision of NFS. You *can* hack
  1279. your kernel to provide it, but it's dangerous, unsupported, and a security
  1280. hole. 9.X supports full NFS 4.1 functionality, including NFS root.
  1281.   
  1282. ------------------------------
  1283.  
  1284. Subject: 7.6! How can I change the order of hostname resolution?
  1285.  
  1286. Patches PHCO_3990 and PHNE_3686 allow configuration of the order of
  1287. hostname resolution. For more detail, see the docs in PHNE_3686; the
  1288. bottom line is that it's like Solaris 2.x.
  1289.   
  1290. ------------------------------
  1291.  
  1292. Subject: 7.7! How come the LOGnnnn files in /usr/adm keep growing and growing?
  1293.  
  1294. The LOGnnnn files in /usr/adm (8.x except 8.02) or /usr/adm/diag (8.02 and 9.0)
  1295. are the diagnostic event log files. Most likely the files are growing for
  1296. one of two reasons: either the diagnostics system was improperly installed,
  1297. or there is an actual hardware problem on the system.
  1298.  
  1299. (Thanks to Wayne Krone of HP)
  1300.   
  1301. ------------------------------
  1302.  
  1303. Subject: 7.8  How come I can't lock mail or other files on a Sun?
  1304.  
  1305. Believe it or not, Sun's lockd is broken at 4.1.x. The proper Sun patch
  1306. number is Patch-ID# 100075-09, called the "lockd jumbo patch".
  1307.   
  1308. ------------------------------
  1309.  
  1310. Subject: 7.9  Why are mail files in /usr/mail are owned by daemon instead of the recipient?
  1311.  
  1312. The mail delivery agent /bin/rmail needs to be able to chown(2) these files.
  1313. It cannot do so if you have removed the privilege CHOWN (see setprivgrp(1m);
  1314. removing CHOWN is recommended to prevent cheating on disk quotas).  To get 
  1315. around this, noting that /bin/rmail runs setgid to group mail, you can grant 
  1316. privilege CHOWN to group mail only by inserting the line "mail CHOWN" in 
  1317. /etc/privgroup. The change takes effect on the next reboot, or immediately 
  1318. if you execute the command "setprivgrp -f /etc/privgroup".
  1319.  
  1320. (Thanks to Jim Richardson <jimr@maths.su.oz.au>)
  1321.   
  1322. ------------------------------
  1323.  
  1324. Subject: 7.10  How can I tell if I need more than a 2-user license?
  1325.  
  1326.     There are several fundamental things to remember about HP-UX licensing:
  1327.  
  1328.     o Series 700 and Series 800 users are now counted the same way
  1329.     o Display console counts as one user
  1330.     o Each ASCII terminal counts as a user, regardless of how it is
  1331.           connected
  1332.     o The LAN connection counts as one user
  1333.  
  1334.     Ascii Terminals
  1335.  
  1336.     The simple rule to remember is any ASCII terminal that is logged in counts
  1337.     as a user.
  1338.  
  1339.     ASCII terminal connections can come in several different forms:
  1340.  
  1341.     o Direct-connected via a serial terminal multiplexer
  1342.     o Connected via Data Terminal Concentrators (DTCs) or via
  1343.           terminal servers
  1344.     o Personal Computers (PCs) acting in terminal emulation mode,
  1345.           whether connected via serial line or via Local Area Network (LAN)
  1346.  
  1347.     X-terminals and workstations
  1348.  
  1349.     When a customer buys an X-terminal or workstation from HP or from 
  1350.     another vendor, HP acknowledges that the customer has also bought a 
  1351.     single Unix license-to-use.
  1352.  
  1353.     Therefore, the customer has the right to an unlimited number of logins and
  1354.     terminal windows _over_the_LAN_ to a Series 700 or Series 800 from either 
  1355.     X-terminals or workstations. These logins can be via X terminal windows
  1356.     (_hpterm_ and _xterm_), _telnet_, _rlogin_, or other means.
  1357.  
  1358.     PC's that use X-terminal emulation software such as XView each count the
  1359.     same as an X terminal. This is because the PC essentially becomes an 
  1360.     X-terminal when it is running the X server software. Therefore, when a PC
  1361.     is running an X-terminal emulator, the PC has the right to an unlimited
  1362.     number of logins to an HP-UX system.
  1363.  
  1364.     Exceptions
  1365.  
  1366.     The policy of counting DTC users is new for the Series 700. Customers who
  1367.     purchased Series 700 systems prior to HP-UX 9.0 shipments (late calendar 
  1368.     1992) and use them as host systems for multiple DTC- connected terminals, 
  1369.     may continue to use those configurations without buying a license upgrade. 
  1370.     An update to HP-UX 9.0 will not lock out these configurations.
  1371.     
  1372. (Thanks to Tony Hart, HP)
  1373.   
  1374. ------------------------------
  1375.  
  1376. Subject: 7.11  How can I tell what patches are in the kernel?
  1377.  
  1378. "what /hp-ux" will present you with patch strings, which you can compare with
  1379. the strings called out in the patch text file. A typical patch string is:
  1380.  
  1381. PATCH_8.07 nfs_vnops.c 1.15.61.4 92/01/10 PHKL_0736 PHKL_0942
  1382.  
  1383. which shows that PHKL_0942 has been applied to the kernel.
  1384.   
  1385. ------------------------------
  1386.  
  1387. Subject: 7.12  How come I have to hit return after control-d in the Korn shell?
  1388.  
  1389. You need to set the "viraw" option.
  1390.   
  1391. ------------------------------
  1392.  
  1393. Subject: 7.13  How do I boot into single user mode?
  1394.  
  1395. Press ESC to stop the auto-boot.
  1396. When the list of boot devices is presented:
  1397.  
  1398. b PX ISL    (where X is your root disc)
  1399.  
  1400. And at the ISL> prompt:
  1401.  
  1402. ISL>  hpux -iS disc(;0)/hp-ux
  1403.  
  1404. The '-iS' are the flags to init which says come up single user.  The rest of
  1405. the command is what the bootprocess does automatically.
  1406.  
  1407. (Thanks to Stuart Jarriel <stuart@TIVOLI.COM>.)
  1408.   
  1409. ------------------------------
  1410.  
  1411. Subject: 7.14  How come my Korn shell login hangs?
  1412.  
  1413. This can happen if the user's home directory is across an NFS mount point; you
  1414. can workaround the problem by completely unprotecting (chmod 777) .sh_history,
  1415. or by pointing HISTFILE to somewhere local.
  1416.   
  1417. ------------------------------
  1418.  
  1419. Subject: 7.15  How can I avoid those annoying copyright notices on login?
  1420.  
  1421. The following code in /etc/profile prints the copyright notice the first
  1422. time each user logs in:
  1423.  
  1424.     NUMLOGINS=`/etc/last | grep $LOGNAME | wc -l`
  1425.     if [ $NUMLOGINS -lt 2 ]
  1426.     then
  1427.         cat /etc/copyright
  1428.     fi
  1429.     
  1430. And, for /etc/csh.login:
  1431.  
  1432. set NUMLOGINS=`/etc/last | grep $LOGNAME | wc -l`
  1433. if ( $NUMLOGINS<2 ) cat /etc/copyright
  1434.  
  1435. (Actually, each user will get the copyright on their first login after each 
  1436. time the /etc/wtmp file is pruned, but that needn't be often.)
  1437.  
  1438. (Thanks to Paul Gootherts, <pdg@cup.hp.com> and Steve Dum, 
  1439. <steve_dum@mentorg.com>)
  1440.   
  1441. ------------------------------
  1442.  
  1443. Subject: 7.16  How can I turn off quota checking?
  1444.  
  1445. The safe way is to use /etc/rmfn to remove the QUOTA fileset.
  1446.   
  1447. ------------------------------
  1448.  
  1449. Subject: 7.17  What are the issues with HP-UX 9.01?
  1450.  
  1451. Some of the things that people have seen with HP-UX 9.01:
  1452.  
  1453. rmfn of the NW-7XX fileset leaves behind an empty directory (/etc/conf/netware)
  1454. and subsequent kernel builds (for patch install) fails until this directory is 
  1455. removed by hand.
  1456.  
  1457. When the length of a macro expansion exceeds an unspecified size, cpp.ansi 
  1458. leaves some macros unexpanded in the output. Patched by PHSS_2199.
  1459.  
  1460. The linker does not traverse shared library search paths itself. Patched
  1461. by PHSS_3537.
  1462.  
  1463. Various X11 problems have been reported including drawing problems
  1464. and memory leaks. Get the latest X server (currently PHSS_3235).
  1465.  
  1466. Various serious C compiler problems have been fixed with PHSS_3707.
  1467.  
  1468. Memory leaks can occur and lock up a system; patch PHKL_3075 may fix it.
  1469.  
  1470. catman will core dump; patch PHCO_2183 fixes it.
  1471.  
  1472. There has been some controversy over the implementation of the dynamic buffer
  1473. cache at 9.01; people have been seeing situations where the cache has grown
  1474. quite large and the syncer takes over the system swapping it out. You can limit
  1475. the growth of the buffer cache to physical memory (default) with patch
  1476. PHKL_2449, or you can disable it altogether with the "bufpages" kernel
  1477. parameter; set bufpages to 10% of your physical memory, e.g. if you have an 
  1478. S700 with 16M of memory, set bufpages to:
  1479.  
  1480. bufpages = 16,000 K physical ram / 4 K per page / 10 (percent ) = 400
  1481.  
  1482. (Thanks to various people, too numerous to mention.)
  1483.   
  1484. ------------------------------
  1485.  
  1486. Subject: 7.18  Why does chown behave differently at 9.x?
  1487.  
  1488. chown(2) on symbolic links now chown's the file which the link is pointing to
  1489. instead of the link itself. If you want to go back to the olf behavior, you
  1490. can set the 'hpux_aes_override' parameter to '1'.  This can be done by
  1491. modify /etc/master ('hpux_aes_override AES_OVERRIDE      1') and changing
  1492. the dfile 'hpux_aes_override  1'.  Or by adb'ing the kernel;
  1493. adb -w /hp-ux /dev/kmem
  1494. hpux_aes_override?W 1       # For the /hp-ux
  1495. hpux_aes_override/W 1       # For the current kernel
  1496. $q
  1497.  
  1498. (Thanks to Trond Haugen, HP)
  1499.   
  1500. ------------------------------
  1501.  
  1502. Subject: 7.19  How can I track log files and core files?
  1503.  
  1504. At 9.x, SAM allows you to track all standard log files and trim them if
  1505. desired. It will also find all core files on a file system and allow you
  1506. to get rid of them.
  1507.   
  1508. ------------------------------
  1509.  
  1510. Subject: 7.20  How much memory can a process use?
  1511.  
  1512. The first limiter is probably swap space.  The combined virtual data space
  1513. of all running processes can't exceed swap size. Run /etc/swapinfo -t and 
  1514. look at the total line.  That's all you have left.
  1515.  
  1516. For FORTRAN programs:
  1517. --------------------
  1518. 1) Increase the kernel's stack limit (maxssiz).  You can do this with
  1519.    sam (Kernel Configuration-> Modify Operating System Parameters->
  1520.    Process Parameters).  The practical limit for user stacks is around
  1521.    80 Mbytes.  Your system probably has an 8 Mbyte limit.  Try 16 Mbytes
  1522.    or 32 Mbytes depending on your expected use.  Give sam a number that
  1523.    is a multiple of the 4096-byte pagesize.
  1524.  
  1525. 2) Change your array allocation.  HP FORTRAN allocates non-common,
  1526.    non-SAVE'd arrays on the process stack.  Common blocks and SAVE'd
  1527.    variables are allocated in the process data segment (with much larger
  1528.    size limits).  If your arrays are declared in the main program and
  1529.    passed to subroutines, you can just SAVE the big ones in the main
  1530.    program, or put them in a common block in the main program, or
  1531.    recompile with -K since -K puts all local variables in the data
  1532.    segment.  (-K is a sledgehammer approach, but it gives you a quick
  1533.    indication that stack size is the issue.)
  1534.  
  1535. 3)  Make sure you have enough swap space.
  1536. -------------------
  1537.  
  1538. (Thanks to Bob Montgomery, HP)
  1539.   
  1540. ------------------------------
  1541.  
  1542. Subject: 7.21  How come there's little discussion of DCE?
  1543.  
  1544. DCE (Distributed Computing Environment) is an OSF-based product. HP now
  1545. ships a DCE product. Most of the discussion concerning DCE takes place
  1546. in comp.unix.osf.misc.
  1547.   
  1548. ------------------------------
  1549.  
  1550. Subject: 7.22  How can I make a ramdisk?
  1551.  
  1552. THIS IS UNSUPPORTED. Make sure 'ram' is configured into your kernel, and then
  1553. make device files with major 9 (both blcok and char), minor 0xVSSSSS, where V is
  1554. the volume number, SSSSS is the number of sectors in the ram disk, and a sector
  1555. is 256 bytes. For example,
  1556.  
  1557.     mknod /dev/ram1m c 9 0x101000
  1558.     
  1559. makes a 1 meg ram disk. Of course, you have to make a file system on it and
  1560. mount it to make it useful.
  1561.  
  1562. (Thanks to Rob Gardner, HP)
  1563.   
  1564. ------------------------------
  1565.  
  1566. Subject: 7.23  Where can I get SLIP for HP-UX?
  1567.  
  1568. On HP workstations, SLIP is called ppl and is a part of the LAN/9000  Link
  1569. product (Thin coax hardware interface + Ethernet/802.3 driver +  TCP/IP
  1570. transport).  Although conceptually a separate "product", the  LAN/9000 Link is
  1571. shipped as part of every HP workstation.
  1572.  
  1573. (Thanks to Mike Taylor, HP)
  1574.   
  1575. ------------------------------
  1576.  
  1577. Subject: 7.24  How come I can't lock files across NFS after upgrading to 9.01?
  1578.  
  1579. You may need to replace your /etc/group with the 9.01 version:
  1580.  
  1581. Upgraded 9.01/  Installed
  1582. 8.07 version    9.01 version
  1583.  
  1584. root::0:        root::0:root
  1585. other::1:       other::1:root,hpdb
  1586. bin::2:         bin::2:root,bin
  1587. sys::3:         sys::3:root,uucp
  1588. adm::4:         adm::4:root,adm
  1589. daemon::5:      daemon::5:root,daemon
  1590. mail::6:        mail::6:root
  1591. lp::7:          lp::7:root,lp
  1592. users::20:      users::20:root
  1593.                 nogroup:*:-2:
  1594.                 
  1595. (Thanks to Robin Strong <gandalf@austin.lockheed.com>)
  1596.   
  1597. ------------------------------
  1598.  
  1599. Subject: 7.25  What's a good strategy for clearing /tmp?
  1600.  
  1601. Two suggestions (to be run from cron) are:
  1602.  
  1603. find /tmp -depth -hidden -fsonly hfs -atime +1 -exec rm -rf {} \;
  1604.  
  1605. The -depth option ensures no directory is removed before its contents,
  1606. -fsonly hfs is because occasionally I've NFS-mounted stuff there and
  1607. it's better to do the clearing in the machine where it's local,
  1608. and -hidden is in case CDF's appear there for some reason.
  1609.  
  1610. (Thanks to Tapani Tarvainen)
  1611.  
  1612. for i in /tmp /usr/tmp
  1613. do
  1614.   find $i -type f -atime +3 -print -exec rm -f {} \;
  1615.   find $i -type d -atime +3 -print -exec rmdir {} \;
  1616. done
  1617.   
  1618. (Thanks to Rich Jennings, HP)
  1619.   
  1620. ------------------------------
  1621.  
  1622. Subject: 7.26  How can I change the timezone?
  1623.  
  1624. Edit the entry in /etc/src.sh and /etc/src.csh, and reboot.
  1625.   
  1626. ------------------------------
  1627.  
  1628. Subject: 7.27  Is there an equivalent for getrusage()?
  1629.  
  1630. From the BSD porting tricks document (thanks, Mike):
  1631.  
  1632. #ifdef hpux
  1633. #include <sys/syscall.h>
  1634. #define getrusage(a, b)  syscall(SYS_GETRUSAGE, a, b)
  1635. #endif /* hpux */
  1636.   
  1637. ------------------------------
  1638.  
  1639. Subject: 7.28! How can I look at what my system is doing?
  1640.  
  1641. The best tool for monitoring your system is HP GlancePlus.  In the U.S. call 
  1642. (800) 237-3990 for a trial version.  Outside the U.S. contact your HP sales
  1643. representative.  HP sells other performance tools as well including HP
  1644. Performance Collection Software, HP PerfRX (for long-term performance
  1645. analysis of a single system), and HP PerfView which runs under OpenView 
  1646. (for simultaneous monitoring of a network of systems including HP-UX, Sun 
  1647. Sparc, and IBM AIX).  You can also use /usr/contrib/bin/monitor if it 
  1648. exists on your system, but it is not as accurate or reliable as GlancePlus,
  1649. and is not an HP supported product.
  1650.  
  1651. ------------------------------
  1652.  
  1653. Subject: 7.29  How can I partition HP-UX disks?
  1654.  
  1655. Here is a sample file which lists the sdsadmin commands to partition a disk
  1656. into 2 partitions. Note that this is specific to the M2654SA disk;
  1657. your mileage may vary. The mediainit is probably not required if the vendor
  1658. has formatted/verified the disk. It is not "supported" to partition
  1659. the boot disk, and you have to go through some contortions to do it.
  1660.  
  1661. #
  1662. # SDS configuration file for this node.
  1663. #
  1664. # To rebuild the /u1 and /news Fujitsu M2654SA disk partitions, do:
  1665. #    mediainit -v /dev/rdsk/c201d5s0
  1666. #    sdsadmin -m -C /usr/local/etc/sdsadmin.config.u1news /dev/dsk/c201d5s0
  1667. #    newfs -L -n -v -m 2 -i 16384 /dev/rdsk/c201d5s1 HP_M2654Su1x1-2
  1668. #    newfs -L -n -v -m 2 -i  2048 /dev/rdsk/c201d5s2 HP_M2654Su1x1-2
  1669. #
  1670. # Disk partitions:
  1671. #
  1672. # 1   /u1     145xxxx 1K blocks (/dev/dsk/c201d5s1, /dev/rdsk/c201d5s1)
  1673. # 2   /news    55xxxx 1K blocks (/dev/dsk/c201d5s2, /dev/rdsk/c201d5s2)
  1674. # -   -----   -------
  1675. #             2006016 1K blocks
  1676. #
  1677.  
  1678. type    M2654Su1x1-2
  1679. label   u1_news
  1680.  
  1681. partition 1
  1682.    size 1450000K
  1683.  
  1684. partition 2
  1685.    size      max
  1686.  
  1687. (Thanks to Mike Petersen)
  1688.  
  1689. ------------------------------
  1690.  
  1691. Subject: 7.30  How can I print man pages successfully?
  1692.  
  1693. To get the italic and bold fonts from the man file on a Laserjet:
  1694.  
  1695. zcat manfile.1 | nroff -man -Tlj | lpr ...
  1696.  
  1697. On a PostScript printer ( you need the GNU groff):
  1698.  
  1699. zcat manfile.1 | groff -man -Tps | lpr ...
  1700.  
  1701. If your man file is a complex one including tables, pipe it through tbl.
  1702.  
  1703. Some man pages like ioctl may need the HP macros:
  1704.  
  1705. zcat manfile.1 | groff -t -e -C -M/usr/lib/tmac -man -Tps | lp ...
  1706.  
  1707. (Thanks to Poul Moller, Markus Gyger)
  1708.  
  1709. ------------------------------
  1710.  
  1711. Subject: 7.31  How can I limit core files?
  1712.  
  1713. HP-UX has no built in function to limit core file generation from the standard
  1714. shells; one way to limit core file generation is to create a directory called
  1715. "core" with 000 permissions in the directory in which you expect a core dump to
  1716. occur. Additionally, two programs are available (nocore and corelimit) that
  1717. can be used as wrappers around other programs that you may expect to dump.
  1718. And, some publicly available shells (tcsh, for example) allow core file
  1719. limits.
  1720.  
  1721. ------------------------------
  1722.  
  1723. Subject: 7.32  Can I put more than one backup on DDS with fbackup?
  1724.  
  1725. No. fbackup always rewinds the tape. Possible alternatives:
  1726.  
  1727. (1) Stick with dump.
  1728. (2) Use a pipe: instead of telling fbackup where the DAT is,
  1729.     let it send its output to stdout (-f -) and pipe it
  1730.     (thru remsh from the other machine) to the DAT, using
  1731.     no-rewind device.  You'll lose fast search ability, though.
  1732. (3) Turn your machines into a cluster served by the one with the DAT
  1733.     and do all backups there.  Unfortunately clusters are
  1734.     not supported at hp-ux 10.0, so this is not a long-term solution.
  1735. (4) Use NFS and mount the disks of the machine without DAT to the other
  1736.     and back them both up there.  You'll have to mount 'em with root
  1737.     permissions and restoring a completely destroyed root disk will be messy.
  1738. (5) Scream at HP until they fix fbackup. :-)
  1739.  
  1740. (Thanks to Tapani Tarvainen, tt@math.jyu.fi)
  1741.  
  1742. ------------------------------
  1743.  
  1744. Subject: 7.33  How can I load multiple patches on a machine at the same time?
  1745.  
  1746. The easiest way to do it is to set up a netdist server by using /etc/updist
  1747. to load all the patches you want into a netdist area, and then starting
  1748. /etc/netdistd.
  1749.  
  1750. ------------------------------
  1751.  
  1752. Subject: 7.34  How can I set up an HP-UX workstation as an X terminal?
  1753.  
  1754. Install minimum OS with network and X11 (without motif or vue).
  1755. Edit /etc/inittab, change the following lines
  1756.  
  1757. init:2:initdefault:
  1758. vue :34:respawn:/etc/vuerc    # VUE validation and invocation
  1759.  
  1760. to
  1761.  
  1762. init:3:initdefault:
  1763. vue :34:respawn:/usr/bin/X11/X -query HOSTNAME    # X server startup
  1764.  
  1765. Replace HOSTNAME by the name of the host running xdm, vuelogin or whatever.
  1766.  
  1767. (thanks to Kay Marquardt, <K.Marquardt@zhv.basf-ag.de>)
  1768.  
  1769. ------------------------------
  1770.  
  1771. Subject: 7.35! What causes "Unable to initialize MI" when running Glance?
  1772.  
  1773. This error can occur for many different reasons but it indicates that the
  1774. glance program had trouble starting the midaemon process.  Further details
  1775. are available in ~/glance.err and/or /usr/perf/log/`hostname`/midaemon.err.
  1776. See man midaemon(1).
  1777.  
  1778. Older revisions of HP GlancePlus (prior to B.09.00 for series 700/800 
  1779. systems and prior to A.09.07 for series 300/400 systems) had a Known 
  1780. Problem in which it was occasionally necessary to issue the following 
  1781. command when the above error occurred:
  1782.  
  1783. rm /usr/perf/databases/`hostname`/*.data
  1784.  
  1785. Do NOT remove other files in the directory /usr/perf/databases/`hostname`/
  1786. because they may be required for other performance tools such as HP PerfRX
  1787. or HP PerfView.
  1788.  
  1789. This problem has been fixed in the current release of HP GlancePlus (versions
  1790. B.09.00 or greater for s700/800).  
  1791.  
  1792. Please contact your HP Support Representative when you experience problems
  1793. with HP software products.  Your HP support contact will know how to obtain 
  1794. additional information to characterize your specific problem.  Please 
  1795. note the product version (ie: "what /usr/perf/bin/glance") when reporting 
  1796. problems.
  1797.  
  1798. (thanks to Doug Grumann <dougg@hpptc3.rose.hp.com>)
  1799.  
  1800. ------------------------------
  1801.  
  1802. Subject: 7.36  Where can I get pcnfsd on HP-UX?
  1803.  
  1804. It's part of the standard NFS distribution.
  1805.  
  1806. ------------------------------
  1807.  
  1808. Subject: 7.37  Where can I get ppp for HP-UX?
  1809.  
  1810. Morningstar has a commercial implementation available. See
  1811. ftp://ftp.morningstar.com for more details.
  1812.  
  1813. (thanks to Cricket Liu, <cricket@nsr.hp.com>)
  1814.  
  1815. ------------------------------
  1816.  
  1817. Subject: 7.38+ How come I can't get all of my swap space?
  1818.  
  1819. The default value of the kernel parameter "maxswapchunks" limits the swap
  1820. accessible by the kernel to 512M; if you configure more swap, you need
  1821. to increase maxswapchunks.
  1822.  
  1823. ------------------------------
  1824.  
  1825. Subject: 8. COMPILERS AND LINKERS
  1826.  
  1827. ------------------------------
  1828.  
  1829. Subject: 8.1  What's a P-FIXUP error?
  1830.  
  1831. Several questions on comp.sys.hp.hpux have involved the Gnu C compiler
  1832. and the linker message below :
  1833.  
  1834.         gcc  test_h.o -o test_h ../libg++.a -lm
  1835. ld: R_DATA_ONE_SYMBOL fixup in file ../libg++.a(streambuf.o) for code unsat
  1836. symbol "abort" - use P' fixup
  1837. collect: /bin/ld returned 1 exit status
  1838.  
  1839.    This is caused by the code generator emitting assembly code in a data
  1840. subspace to initialize a function pointer, equivalent to :
  1841.  
  1842.     .word    foo
  1843.  
  1844. where (in this case) foo() is an extern, and shared libraries are referenced
  1845. by the executable being built (usually libc.sl).  
  1846.  
  1847. NOTE:
  1848.  
  1849. This problem has been fixed in gcc-2.4.5.u5; if people are still running
  1850. into this error, then:
  1851.  
  1852.   1) They've got an old version of gas (pa-gas-1.36.u8 I belive is the
  1853.   first one do handle this correctly).
  1854.  
  1855.   2) They're linking with a library built with some old combination of
  1856.   gcc and gas.
  1857.  
  1858. The solution is to make sure gcc and gas are up-to-date and any libraries
  1859. have been built with the latest gcc/gas combination.  For a temporary 
  1860. workaround the option "-static" to gcc will suppress dynamic linking and
  1861. thus avoids the error.
  1862.  
  1863. (thanks to Carl Burch, HP for the original, and Jeff Law 
  1864.  <law@snake.cs.utah.edu> for the followup)
  1865.  
  1866. ------------------------------
  1867.  
  1868. Subject: 8.2  Where is regcmp on HP-UX?
  1869.  
  1870. RTFM - from man regcmp:
  1871.  
  1872.       regcmp and regex are kept in /lib/libPW.a, and are linked by using the
  1873.       -lc and -lPW options to the ld or cc command.  See WARNINGS below.
  1874.  
  1875. (thanks to Andre Srinivasan, <andre@cs.pitt.edu>)
  1876.   
  1877. ------------------------------
  1878.  
  1879. Subject: 8.3  How come the default C compiler is brain-dead?
  1880.  
  1881. The C compiler shipped with HP-UX is intended only to rebuild the kernel
  1882. with, not for program development. To get a "real" C compiler, you must
  1883. buy the ANSI C program development bundle.
  1884.   
  1885. ------------------------------
  1886.  
  1887. Subject: 8.4  How do I deal with "too many defines"?
  1888.  
  1889. Use the "-Wp,-Hxxxxxxx" where xxxxxxxx is the number of bytes to add to cpp's
  1890. table size.
  1891.  
  1892. There is no equivalent in lint or cflow to the cc driver's -W flag to 
  1893. pass options to subprocesses like cpp.  However, both lint and cflow
  1894. invoke cpp via the cc driver, so you can achieve the same effect by
  1895. setting the CCOPTS environment variable.  For example,
  1896.  
  1897.     CCOPTS="-Wp,-H500000"
  1898.     export CCOPTS
  1899.     lint large_file.c
  1900.  
  1901.   
  1902. ------------------------------
  1903.  
  1904. Subject: 8.5  How come I get "_builtin_va_start" undefined when I build with gcc?
  1905.  
  1906. The <varargs.h> and <stdarg.h> include files define va_start in terms of 
  1907. this function, which is built-in on the HP C compiler.
  1908.  
  1909. If you're using GCC you should be picking up include files
  1910. from the gcc library directory.  These include files do the right
  1911. thing for both GCC and HP C.
  1912.  
  1913. More often than not these files were never installed, or someone has
  1914. placed a copy of varargs.h/stdarg.h into /usr/local/include (gcc searches
  1915. there *first*).
  1916.  
  1917. When all else fails, you can replace the definition of va_start as follows, 
  1918. depending on whether you are using varargs or stdarg (K&R or ANSI,
  1919. respectively).
  1920.  
  1921.     #include <varargs.h>
  1922.     #ifdef __hppa
  1923.     #undef va_start
  1924.     #define va_start(a) ((a)=(char *)&va_alist+4)
  1925.     #endif
  1926.  
  1927.     #include <stdarg.h>
  1928.     #ifdef __hppa
  1929.     #undef va_start
  1930.     #define va_start(a,b) ((a)=(va_list)&(b))
  1931.     #endif
  1932.  
  1933. For <varargs.h>, this replacement should always work.
  1934.  
  1935. For <stdarg.h>, this replacement will work unless the last fixed
  1936. parameter ("b" in the call to va_start) is a structure larger
  1937. than 8 bytes.  Large structures are passed by reference, with the
  1938. callee responsible for copying the structure to a temporary area
  1939. if it will be modified.  In this case, "&b" will take the address
  1940. of that temporary area instead of the position in the argument
  1941. list, and va_next won't work.  That's why HP uses a compiler
  1942. built-in.
  1943.  
  1944. (Thanks to Cary Coutant, HP for the original and Jeff Law 
  1945.   <law@snake.cs.utah.edu> for the followup)
  1946.   
  1947. ------------------------------
  1948.  
  1949. Subject: 8.6  How can I tell if something was built debuggable?
  1950.  
  1951. If the output of "/usr/contrib/bin/odump -spaces file.o" shows a space
  1952. named $DEBUG$, then it was compiled with -g.
  1953.  
  1954. (Thanks to Fran Litterio <franl@centerline.com>)
  1955.  
  1956. ------------------------------
  1957.  
  1958. Subject: 8.7  Is there some kind of problem with using FLT_MIN in ANSI mode?
  1959.  
  1960. The C compiler dislikes this construct in ANSI mode:
  1961.  
  1962. x = FLT_MIN;    /* <---- warning here */
  1963.  
  1964. The problem is that the ANSI mode (_PROTOTYPES) version of FLT_MIN/FLT_MAX in
  1965. <float.h> end their constants with an F, which seems to upset the compiler.
  1966.  
  1967. The workaround ? Temporarily undef _PROTOTYPES around the <float.h> inclusion:
  1968.  
  1969. #ifdef _PROTOTYPES
  1970. #undef _PROTOTYPES
  1971. #include <float.h>
  1972. #define _PROTOTYPES
  1973. #else
  1974. #include <float.h>
  1975. #endif
  1976.  
  1977. (Thanks to Richard Lloyd of the Liverpool archive.) 
  1978.  
  1979. ------------------------------
  1980.  
  1981. Subject: 8.8  What's the deal with _INCLUDE_xxxx_SOURCE?
  1982.  
  1983. The ANSI standard clearly states what identifiers it reserves, and says the rest
  1984. are available to you, the programmer.  Many "important things" like "ulong" are
  1985. *not* specified by ANSI, so ANSI header files are not allowed by the standard to
  1986. define them.  Each standard supported by HP-UX (POSIX1, POSIX2, XPG2, XPG3,
  1987. XPG4, AES, etc) has its own set of reserved identifiers and header files, and
  1988. the convention is to require "-D_POSIX_SOURCE" (et al) to enabled their
  1989. respective namespaces.  Since HP could not predict what future standards would
  1990. come along and claim more header files and identifiers, it proved much simpler
  1991. to make the namespace as restrictive as possible unless "-D_HPUX_SOURCE" is
  1992. specified.  While this has turned into one the most frequently asked of FAQ's
  1993. about HP-UX, at least once you learn this, you don't have to deal with
  1994. inconsistencies again.  Whereas, had we allowed all non-standard headers to
  1995. define all non-standard symbols, you'd find identifiers randomly "disappearing"
  1996. from headers over time as they were claimed by various standards.
  1997.  
  1998. Also check the man page for "cc -Ae"; it enables the the HPUX_SOURCE namespace.
  1999.  
  2000. (Thanks to Marc Sabatella)
  2001.   
  2002. ------------------------------
  2003.  
  2004. Subject: 9. HARDWARE AND PERIPHERALS
  2005.  
  2006. ------------------------------
  2007.  
  2008. Subject: 9.1  Are alternate keyboards available for HP workstations?
  2009.  
  2010. Yes, HP has two keyboards available for their workstations and X Terminals.
  2011.  
  2012. A1099B - Workstation style keyboard (Default on workstations.)
  2013. A2205A - PC-101 style keyboard (Default on X Terminals.)
  2014.  
  2015. The 712 supports any PC-type keyboard and mouse.
  2016. ------------------------------
  2017.  
  2018. Subject: 9.2  How can I play audio CDs on an HP workstation?
  2019.  
  2020. A contributed application ("xcd") exists that presents a X-window CD player
  2021. front panel.  xcd runs on HP-UX 7.0 and 8.0, on Series 300, 400 and 700, with
  2022. either SCSI or HP-IB CD-ROM drives. The SCSI drives must be HP-supplied or
  2023. Toshiba XM-3201B or XM-3301B. xcd does not yet officially work on HP-UX 9.0,
  2024. but I've tried it and it seems to work just fine. Note that xcd plays only
  2025. through the CD player's headphone jack and not through the workstation's
  2026. speaker.
  2027.  
  2028. xcd is available from the InterWorks workstation user group (see above), 
  2029. on their ftp site, CD-ROM, and via DDS tape.
  2030.   
  2031. Note that source is not available.
  2032.  
  2033. Additionally, two new programs that provide similar functionality have
  2034. recently appeared, called xdp and xmcd.
  2035.  
  2036. (Thanks to Bob Niland and others)
  2037.  
  2038. ------------------------------
  2039.  
  2040. Subject: 9.3  How can I enable the LAN interface on a 700?
  2041.  
  2042. This can be problem when the LAN isn't connected at boot time. To
  2043. resolve the problem, use the "reset" command in "landiag".
  2044.   
  2045. ------------------------------
  2046.  
  2047. Subject: 9.4  How can I get an Exabyte to work on an HP?
  2048.  
  2049. People have under HP-UX 8.07 used device files with major number 54,
  2050. minor numbers 0x201202 and 0x201203 for /dev/rmt/2m and /dev/rmt/2mn, 
  2051. respectively, for low density. Other people had used 0x201242 and 0x201243.
  2052.  
  2053. Note that with HP-UX 9.01, low density means 8200 format in 8500 drives.
  2054. Major #54, minor numbers 0x201202 and 0x201203 are low density handles.
  2055. With 8200 drives the density does not matter. Software compression
  2056. control with 8505 drives will require a patch to HP-UX 9.01.
  2057.  
  2058. Caveats: some Exabyte drives will not support a "dump" blocking factor
  2059. greater than 64 from the HP.  Others are apparently limited in the commands
  2060. they will accept (e.g. TTI noted that their 8501 tape drive will not properly
  2061. interface with the HP under all conditions; however, the TTI 8510 does
  2062. interface correctly). TTI had a firmware problem which should be 
  2063. corrected in recent 8510s.
  2064.  
  2065. Note that 8500 drives act as SCSI-2, while 8200s are SCSI-1. People appear
  2066. to have been more successful with getting the 8500s to work with 9.01.
  2067.  
  2068. Experience has also shown that you may need PHKL_2898.
  2069.  
  2070. (Thanks to Mike Peterson for much of this.)
  2071.   
  2072. ------------------------------
  2073.  
  2074. Subject: 9.5  Is there a "node ID" on 700s?
  2075.  
  2076. Yes. Most licensing systems (FlexLM and NetLS, for example), are driven from 
  2077. the LLA, available from /etc/lanscan or /usr/etc/netls/ls_targetid. There is 
  2078. also a CPU ID number that HP uses for /etc/update; it may be a transformation 
  2079. of the LLA, but this is not guaranteed to remain the case, and may be disturbed
  2080. by replacement of the LAN board. Additionally, the LLA can be reset by a 
  2081. CE using the proper secret magic program.
  2082.   
  2083. ------------------------------
  2084.  
  2085. Subject: 9.6  How can I get a stuck DDS tape out of the drive?
  2086.  
  2087. 1)  Power down your machine (remember shutdown!!! ;-))
  2088. 2)  Open it up (you'll prob. need Torx screwdrivers).
  2089. 3)  on the side of the drive, you should see a small rectangular piece
  2090.     of plastic.  gently pry it off... it should come off quite easily.
  2091. 4)  the aforementioned piece of plastic covers a hole, which houses a 
  2092.     small dial.  spinning this dial ejects the tape.  
  2093. 5)  replace plastic piece, close machine... and bob's your uncle.
  2094.  
  2095. p.s.  the dial has very little torque (ie. the tape comes out quite slowly,
  2096. but you can see it move.   It'll take about 2-3 minutes of spinning before 
  2097. the tape comes out.
  2098.  
  2099. (Thanks to Edlin Seebick.)
  2100.   
  2101. ------------------------------
  2102.  
  2103. Subject: 9.7  How can I use dump with a DDS tape?
  2104.  
  2105. dump was written to assume 9-track tapes, so some fudging has
  2106. to be done for DDS tapes.  The following has the info you need
  2107. along with several alternatives for dump parameters.
  2108.  
  2109. Approximate capacity of 60m DDS tape = 1.3G bytes
  2110. Approximate DDS tape density = (1.3G bytes) / (60 m) = (550K bytes/in)
  2111.  
  2112. dump assumes an inter-record gap (IRG) of 0.3 in for density = 6250,
  2113. 0.7 in otherwise.
  2114.  
  2115. dump uses a default blocking factor of 10 for density < 6250,
  2116. 32 otherwise.
  2117. ================
  2118. density = 550000
  2119. blocking factor = 32 (default)
  2120. assumed IRG = 0.7 in
  2121.  
  2122. Block length = (32K bytes/block) / (550K bytes/in) + (0.7 in) = (0.76 in)
  2123.  
  2124. Effective tape length =
  2125.     (1.3G bytes) / (32K bytes/block) * (0.76 in/block) = (2511 ft)
  2126. ================
  2127. density = 6250
  2128. blocking factor = 32 (default)
  2129. assumed IRG = 0.3 in
  2130.  
  2131. Block length = (32K bytes/block) / (6250 bytes/in) + (0.3 in) = (5.54 in)
  2132.  
  2133. Effective tape length =
  2134.     (1.3G bytes) / (32K bytes/block) * (5.54 in/block) = (18325 ft)
  2135. ===============
  2136. density = 1600
  2137. blocking factor = 10 (default)
  2138. assumed IRG = 0.7 in
  2139.  
  2140. Block length = (10K bytes/block) / (1600 bytes/in) + (0.7 in) = (7.10 in)
  2141.  
  2142. Effective tape length =
  2143.     (1.3G bytes) / (10K bytes/block) * (7.10 in/block) = (75113 ft)
  2144. ===============
  2145. density = 1600
  2146. blocking factor = 32
  2147. assumed IRG = 0.7 in
  2148.  
  2149. Block length = (32K bytes/block) / (1600 bytes/in) + (0.7 in) = (21.18 in)
  2150.  
  2151. Effective tape length =
  2152.     (1.3G bytes) / (32K bytes/block) * (21.18 in/block) = (70022 ft)
  2153.  
  2154. (Thanks to Cary Coutant, HP.)
  2155.   
  2156. ------------------------------
  2157.  
  2158. Subject: 9.8  What is the correct major number for DDS drives on 9.01?
  2159.  
  2160. For reasons too detailed to go into here, the major number for DDS drives
  2161. has changed to 121 (from 54) at 9.01. 
  2162.   
  2163. ------------------------------
  2164.  
  2165. Subject: 9.9  How can I set up /dev/audio to point to the external jack on a 700?
  2166.  
  2167. Alter the /dev/audio device file as follows:
  2168.  
  2169. crw-rw-rw-   1 root     sys       57 0x208011  /dev/audio  ; external jack
  2170. crw-rw-rw-   1 root     sys       57 0x208000  /dev/audio  ; internal speaker
  2171.  
  2172. The commands are:
  2173.   mknod /dev/audio c 57 0x2080??   <- replace ?? with 00 or 11 as shown above.
  2174.  
  2175. (Thanks to Lou Kvitek.)
  2176.   
  2177. ------------------------------
  2178.  
  2179. Subject: 9.10  How can I configure the parallel port handshake on a 700?
  2180.  
  2181. From "man cent":
  2182.  
  2183.      The Series 700 cent driver supports six different handshake modes for
  2184.      data transfer.  The last four bits of the minor number of the device
  2185.      special file specify which mode is used.  The format of the device
  2186.      minor number is:
  2187.  
  2188.           0xSEF00A
  2189.  
  2190.      where each letter represents a single hexadecimal digit as follows:
  2191.  
  2192.      0x   Preamble to a hexadecimal number.  
  2193.      S    Specifies the system bus module number ( 2 for core I/O).  
  2194.      E    Specifies the EISA slot number: ( always 0 for core I/O).  
  2195.      F    Specifies the function number.  Always 6 for the Core I/O
  2196.           parallel interface.  
  2197.      00   Always 0.
  2198.      A    Specifies the handshake mode.  The handshake modes are:
  2199.  
  2200.                mode 1    Automatic handshaking using both nACK and BUSY.
  2201.                          Minor number format: 0xSEF001.
  2202.  
  2203.                mode 2    Automatic handshaking using only BUSY.  Minor
  2204.                          number format: 0xSEF002.
  2205.  
  2206.                mode 3    Bidirectional read/write used for ScanJet.  Minor
  2207.                          number format: 0xSEF003.
  2208.  
  2209.                mode 4    Stream mode.  Data is essentially transmitted to
  2210.                          the peripheral without any handshaking protocol.
  2211.                          Minor number format: 0xSEF004.
  2212.  
  2213.                mode 5    Pulsed mode using both ACK and BUSY for automatic
  2214.                          handshaking.  Similar to mode 1 except that the
  2215.                          data strobe line, nSTROBE is pulsed for a fixed
  2216.                          amount of time by the sender, then released.
  2217.                          Minor number format: 0xSEF005.
  2218.  
  2219.                mode 6    Pulsed mode, using only BUSY for automatic
  2220.                          handshaking.  Similar to mode 1 except that the
  2221.                          data strobe line, nSTROBE is pulsed for a fixed
  2222.                          amount of time by the sender, then released.
  2223.                          Minor number format: 0xSEF005.
  2224.  
  2225.           Modes 1 and 2 support most printers belonging to the *Jet series
  2226.           (LaserJet, DeskJet, QuietJet, etc.).
  2227.           
  2228. ------------------------------
  2229.  
  2230. Subject: 9.11  What are the specs of the audio hardware on the 700 series?
  2231.  
  2232. This is a summary of the audio features supported by the models 715, 725, 735,
  2233. and 755 workstations.  The 705 and 710 also have audio, but the specs are
  2234. not available. The 720, 730, and 750 models DO NOT have audio.
  2235.  
  2236. Audio features  Programmable sample rates (kHz): 8, 11.025, 16, 
  2237.                     22.05,32, 44.1, 48
  2238.                 Programmable output attenuation: 0 to -96 dB in 1.5 dB steps
  2239.                 Programmable input gain: 0 to 22.5 dB in 1.5 dB steps
  2240.                 Input monitoring
  2241.                 Coding formats: 16-bit linear, 8-bit mulaw, or A-law
  2242.  
  2243. Audio inputs        Line in
  2244. (not on all models) Mono microphone with 1.5V phantom power
  2245.  
  2246. (Editorial comment - a Sun microphone appears to work just fine.)
  2247.  
  2248. Audio outputs       Line out
  2249. (not on all models)    Headphone
  2250.                     Mono speaker jacks
  2251.                     Built-in mono speaker
  2252.  
  2253. Audio CODEC         Crystal CS4215
  2254.  
  2255. Typical specifications measured on a stock 715.  Values will differ only 
  2256. slightly on other models.
  2257.  
  2258. Frequency response    25 - 20,000 Hz
  2259.  
  2260. Input Sensitivity/Impedance
  2261.             Line In        2.0 V(pk) / 47 kohms
  2262.             Microphone  22 mV(pk) / 1 kohm
  2263.  
  2264. Output Impedance (nominal)
  2265.             Line out    619 ohms
  2266.             Headphone   118 ohms
  2267.             Speaker (ext)  11 ohms
  2268.  
  2269. Max Output Level/Impedance
  2270.             Line Out    2.8 V (p-p) / 47 kohms
  2271.             Headphone   2.75 V (p-p) / 50 ohms
  2272.             Speaker (ext)  5.88 V (p-p) / 48 ohms
  2273.  
  2274. Signal to Noise
  2275.             Line In     61 dB
  2276.             Line Out    65 dB
  2277.             Microphone  57 dB
  2278.             Headphone   61 dB
  2279.             Speaker (ext)  63 dB
  2280.  
  2281. THD (at nominal load)
  2282.             Line In     -75 dB
  2283.             Line Out    -73 dB
  2284.             Microphone  -73 dB
  2285.             Headphone   -70 dB
  2286.             Speaker (ext)   -68 dB
  2287.  
  2288. (Thanks to Rocky Craig, HP)
  2289.  
  2290. ------------------------------
  2291.  
  2292. Subject: 9.12  What are the various revisions of PA-RISC?
  2293.  
  2294. PA-RISC 1.1 is an extension to the PA-RISC 1.0 architecture, and is
  2295. fully backwards-compatible (i.e., *all* PA-RISC 1.0 programs will
  2296. execute without change on PA-RISC 1.1 machines).  The biggest difference
  2297. is that PA-RISC 1.1 added 16 more floating-point registers, the ability
  2298. to address each double-precision floating-point register as two
  2299. single-precision registers, and a few new floating-point operations, so
  2300. the floating-point performance is greatly improved.  There were a few
  2301. changes on the integer side, but nothing major.
  2302.  
  2303. The first machines to be shipped with PA-RISC 1.1 CPUs were the first
  2304. Series 700 machines (the "Snakes" series).  Shortly after that, however,
  2305. the "Nova" series of Series 800 (8x7) machines was introduced using the
  2306. same PA-RISC 1.1 CPU.  Since then, every new PA-RISC machine that HP has
  2307. produced is based on the PA-RISC 1.1 architecture.
  2308.  
  2309. Thus, all Series 700 machines are PA-RISC 1.1, and the newer Series 800
  2310. machines are PA-RISC 1.1.  If you compile a program on a Series 700
  2311. machine, the compiler will generate PA-RISC 1.1 code by default, but if
  2312. you compile a program on a Series 800 machine (even a newer 1.1
  2313. machine), the compiler will generate PA-RISC 1.0 code to ensure that the
  2314. program will run within the entire 800 family.
  2315.  
  2316. To force the compiler to generate PA-RISC 1.0 code, you use the +DA 1.0
  2317. compiler option.  This is all you need to do, as long as you are careful
  2318. not to link your code with any libraries that were compiled for PA-RISC
  2319. 1.1.  If *any* object module in your program is compiled for PA-RISC
  2320. 1.1, your entire program will be marked as a PA-RISC 1.1 program.  The
  2321. "file" command will tell you which architecture is required to execute
  2322. your program.  Most system archive libraries that HP ships are compiled
  2323. for PA-RISC 1.0; an exception is the math library, which is shipped in
  2324. both forms (a PA-RISC 1.1 version is in /lib/pa1.1), although the 1.1
  2325. version contains a few entry points that are not available in the 1.0
  2326. version.
  2327.  
  2328. The scheduling option, +DS xxx, does not affect the compatibility of the
  2329. object code.  It affects only how the optimizer schedules instructions
  2330. that have long latencies, so it is usually to your advantage to schedule
  2331. the code for the fastest machine currently shipping, even if you are
  2332. generating 1.0 code.
  2333.  
  2334. When compiling code on one platform for another platform, the thing
  2335. you do have to worry about is the operating system release.  In general
  2336. you can compile a program on a Series 700 machine with +DA 1.0, and it
  2337. will run correctly as long as the program will execute on the same or
  2338. a later release of the OS as the one on which it was compiled.  Thus,
  2339. you cannot expect a program compiled on a 700 running 9.0 to run on
  2340. an 800 running 8.0.
  2341.  
  2342. (Thanks to Cary Coutant, HP)
  2343.  
  2344. ------------------------------
  2345.  
  2346. Subject: 9.13  How do I read an SGI-written tar format DDS tape?
  2347.  
  2348. The secret (at least in this case) is to byte-swap the tape before 
  2349. passing it to tar:
  2350.  
  2351.     dd if=/dev/rmt/0m conv=swab | tar -xvf -
  2352.  
  2353. Byte swapping is believed to only be necessary if the SGI machine that made 
  2354. the tape is running Irix 4.0 and under, and that if it's running Irix 5.0x 
  2355. and above, a large (512k) block size is used:
  2356.  
  2357.     dd if=/dev/rmt/0m ibs=512k obs=10k| tar -xvf -
  2358.  
  2359. (thanks to Paul Booth <paul@eye.com>)
  2360.  
  2361. ------------------------------
  2362.  
  2363. Subject: 9.14  Is there a trackball for the 700?
  2364.  
  2365. ITAC Systems supports a Mouse-trak trackball for HP-HIL (all 700s but
  2366. the 712). The 712, of course, can use any PC-style trackball.
  2367.  
  2368. (thanks to Jeff Dwork, AMD)
  2369.  
  2370.           
  2371.  
  2372.